January 30, 2018 at 11:38 amsaadywSubscriber
I have a 2D dynamic mesh case of a piston-cylinder arrangement as attached. I can create a udf to move the piston under certain velocity and the simulation proceeds with no problems.
What I need is to set the dynamic mesh zones according to a udf expressing the equation of motion of the piston which is :
a = (F + p1*A1 - p2*A2) / m or if represented with velocity dv = (F + p1*A1 - p2*A2) * dt / m
where: a .. acceleration, F .. External force, p1,p2 .. pressures on upper and lower piston boundaries respectively, A1,A2 .. areas at same locations and m .. mass of the piston.
I have got through a similar udf in the udf manual for equation of motion in x-dir, but I do not understand how the pressure forces are computed. So, I want to know how the pressure on both sides is represented in the udf in my case.
This udf link is: https://www.cfd-online.com/Forums/fluent/87021-code-dynamic-meshing-udf.html
Can you help me on this udf ?
- The topic ‘UDF for equation of motion’ is closed to new replies.
Boost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.
Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
- legend min and max
- Ensight hot iron palette from an image
- Streamlines in EnSight using MRI data
- Import MRI data into Ensight
- FLUENT APPLICATIION ERROR
- Total Surface Heat Flux Calculation in Fluent
- Drop Test of a Water-Filled Tube
- Difference between “total pressure” and “absolute pressure”?
- obtaining pressure distribution by making points in ansys
- Minimum Orthogonal Quality Less than 0.01 For Transonic Airfoil Flow Analysis
© 2023 Copyright ANSYS, Inc. All rights reserved.