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.
- How do you approach this?
- Convective Augmentation Factor in DEFINE_HEAT_FLUX
- Conservation issue with a UDS solution
- Where is the Electrolyte Projected Area in the Reports tab of PEMFC Model?
- ANSYS fluent – Rocky DEM coupling
- Non-Premixed Combustion PDF generation with 4th-order interpolation
- Solar load , Mesh Orientation and Beam direction
-
451
-
199
-
194
-
177
-
162
© 2024 Copyright ANSYS, Inc. All rights reserved.