-
-
September 16, 2025 at 8:01 am
zhengxh1
SubscriberBy installing the FLUENT_AAS package in MATLAB, it is possible to change the constant values for FLUENT material density and wall temperature. However, setting the wall temperature as a function expression of the Z-axis results in an error. Is there someone who can help with this? Thank you very much!!!
-
September 17, 2025 at 8:22 am
NickFL
SubscriberI have never used the Fluent_AAS package, but you should be able to add the variable wall temperature using Named Selections and applying it using the TUI. You would have to have the journal file write some commands that look like:
/define/named-expressions/add "Twall" definition "270 [K] + 2 [K m^-1] * z" q
/define/boundary-conditions/wall my-wall , , , , y temperature n "Twall" , , , , , , , , , ,The first one creates a Named Selection called Twall. Your expression would go in the " ". Note there are units on z, therefore I have a m^-1 in the unit of the slope to ensure we have units of [K]. Also note that it is always better to write Named Selections using [K] and not [C]. The second line applies the Named Selection temperature boundary condition to the boundary named my-wall (you can change that). Depending on what models you have enabled, the number of commas may be slightly different. That is something you will have to debug yourself.
For the part about the density, I am a bit confused. Are you trying to apply a variable density to a solid material? Fluent expects that the density of solids are constant. If it is a variable density for a fluid, the solver will compute the density as part of the flow solution. Or are you trying to set the initial condition with a variable density? Then you could use a Custom Field Function through initialization and patch.
-
- You must be logged in to reply to this topic.
- 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
- Centrifugal Fan Analysis for Determination of Characteristic Curve
- Guidance needed for Conjugate Heat Transfer Analysis for a 3s3p Li-ion Battery
- 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
-
3907
-
1414
-
1256
-
1118
-
1015
© 2025 Copyright ANSYS, Inc. All rights reserved.