TAGGED: boundary-conditions, transient
-
-
September 19, 2024 at 4:28 amadi959719Subscriber
Hi,
I'm running a transient simulation with some user defined scalars. One of the uds is space charge and have the unit Coulombs/kg (C/kg). The UDS is implemented using the default unsteady function and mass flux as the flux function.Â
On a wall, I want to set zero flux boundary condition on the space charge uds initially. However, after a flowtime of more than 1 second. I want the wall to act as a sink that depletes that uds at a rate of 0.1 C/(m^2.s).
I would like to know if the following method correct:Â
1. Set the bc of the wall as "specified flux" and set the value as an expression. The expression is "if(t>1[s], 0.1, 0)"
I don't think it is right, cause the expression always yield to 0, how do I implement this?
Â
Â
Â
 Â
-
September 19, 2024 at 6:20 amNickFLSubscriberDo you mean with your named expressions? Then I believe the if must be IF to be valid, i.e. upper-case.
-
September 19, 2024 at 9:01 amadi959719Subscriber
Oh yes i meant to put upper-case IF....but is the flow-time just accessed using the expression t?
-
October 3, 2024 at 7:50 pmFedericoAnsys Employee
Correct, the variable t is the way to access flow time in your expression
-
-
-
- You must be logged in to reply to this topic.
- Non-Intersected faces found for matching interface periodic-walls
- Unburnt Hydrocarbons contour in ANSYS FORTE for sector mesh
- Help: About the expression of turbulent viscosity in Realizable k-e model
- Cyclone (Stairmand) simulation using RSM
- error udf
- Script error Code: 800a000d
- Fluent fails with Intel MPI protocol on 2 nodes
- Diesel with Ammonia/Hydrogen blend combustion
- Mass Conservation Issue in Methane Pyrolysis Shock Tube Simulation
- Encountering Error in Heterogeneous Surface Reaction
-
1191
-
513
-
488
-
225
-
209
© 2024 Copyright ANSYS, Inc. All rights reserved.