-
-
September 7, 2020 at 3:46 pm
Daicha
SubscriberHello experts.nI am trying to set constant pressure for the pressure inlet boundary.nSo, I made the following UDF to set total pressure at the inlet.nThough Fluent successfully interpreted the UDF, Fluent did a forced shutdown when I initialize the model with the message MPI error ... etc at console.nHow can I overcome this problem ?? DEFINE_PROFILE(zenatsu,t,i)n{n  real den, vel;n  face_t f;n  #define p 300000;n  n  den=F_R(f,t);n  vel=F_U(f,t);nn  begin_f_loop(f,t)n    {n      F_PROFILE(f,t,i) = den*vel*vel/2+p;n    }n  end_f_loop(f,t)n}nnBest regardsnnDaichan -
September 7, 2020 at 5:01 pm
Amine Ben Hadj Ali
Ansys EmployeeYou need to check dome examples in YDF manual. Your UDF is wrong and you require some training and reading some example. If you want to set a constant pressure or any Profile you can on Rely on the new Fluent Expressions which are suited for beginners and non programmers n
-
Viewing 1 reply thread
- The topic ‘Hooking UDF for total pressure failed’ is closed to new replies.
Ansys Innovation Space
Trending 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
- I am doing a corona simulation. But particles are not spreading.
- Guidance needed for Conjugate Heat Transfer Analysis for a 3s3p Li-ion Battery
- Centrifugal Fan Analysis for Determination of Characteristic Curve
- 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
-
3892
-
1414
-
1241
-
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.