Is it possible to compile an UDF to alter the height of vertical wall during the course of solution?
-
-
October 23, 2021 at 3:11 pm
subhamcfd
SubscriberI am simulating a 2D hydraulic jump in a rectangular 2d channel. I have a tail-gate at the outlet such that the flow get obstructed by the gate and in due course of time, the water flows over the gate. But , as of now, i have to run the calculations considering fixed height of tail gate and as such , during the calculation , i can not alter the height of tail-gate . As a result , my depths of flow pre-jump and post jump can not be altered and the location of jump also can not be altered.
I intend to create a UDF , so that i can interrupt the calculation after certain iterations and alter the height of tail gate i.e lower or raise the tail gate. I expect the solver to consider this effect upon resuming the calculation.
Is it possible to compile such an UDF? Or is there any simpler process to achieve the above task.
October 25, 2021 at 10:25 amRob
Forum ModeratorDo you want to model the gate in motion or just have a sudden change in height? You also need a lot more mesh if you want to resolve the free surface.
October 25, 2021 at 11:25 amAmine Ben Hadj Ali
Ansys EmployeeIs the tail gate modeled as a wall? Or Pressure Outlet?
October 27, 2021 at 3:29 pmsubhamcfd
SubscriberMr. Rob , I want to model the gate such that , i would be able to lower or raise the tail gate (basically a wall) at any time within the solution. Of course , I will interrupt the solution and then raise the gate and resume the solution like in any physical experiment.
Mr. DrAmine , tail gate is modelled as a wall.
October 28, 2021 at 2:32 pmRob
Forum ModeratorI assume this is transient. In that case you could also split the mesh or relabel a zone(s). To do this accurately you'd need to pre-plan the positions to then split the mesh afterwards.
Viewing 4 reply threads- The topic ‘Is it possible to compile an UDF to alter the height of vertical wall during the course of solution?’ is closed to new replies.
Ansys Innovation SpaceTrending discussions- air flow in and out of computer case
- Varying Bond model parameters to mimic soil particle cohesion/stiction
- Eroded Mass due to Erosion of Soil Particles by Fluids
- Guidance needed for Conjugate Heat Transfer Analysis for a 3s3p Li-ion Battery
- Centrifugal Fan Analysis for Determination of Characteristic Curve
- I am doing a corona simulation. But particles are not spreading.
- Issue to compile a UDF in ANSYS Fluent
- JACOBI Convergence Issue in ANSYS AQWA
- affinity not set
- Resuming SAG Mill Simulation with New Particle Batch in Rocky
Top Contributors-
3862
-
1414
-
1236
-
1118
-
1015
Top Rated Tags© 2025 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.
-