TAGGED: boundary-conditions, fluent-uds, fluent-uds-udf
-
-
September 19, 2024 at 3:55 amadi959719Subscriber
Hi,
I have set-up a user defined scalar to be solve in fluent. It uses the default unsteady function and mass flow rate as the flux function. In other words, I have implemented a scalar transport equation with the scalar having the units of #/kg.
In my case, the scalar is actually space charge and have the unit Coulombs/kg (C/kg).
Hence, with mass flow rate as the flux function (density*velocity = (kg/(m^2.s))), the units of the advection terms are C/(m^2.s).
My questions are:
- If I specify the BC of this UDS as "specified value", I assume the unit would be in C/kg. Is this correct?
- If I specify the BC of this UDS as "specified flux", is the unit C/(m^2.s) or something else?
- If I specify the BC as "specified flux = 0", on a wall (where no flow can go through), it means the wall is insulating the charge correct? But does it mean zero gradient on the charge near the wall?
- If I specify the BC as "specified flux = 0", on an outlet (where flow can go through), it means that charge is still advected out, but the gradient of charge is set to zero correct?
- If I specify the BC on a wall as "specified flux", and set it not equal to zero, say x, does the wall then act like a source/sink, where charge is being inserted/deleted to at a rate of x C/(m^2.s)? If so, does that then mean +x is act as sink and -x act as source?
Â
Â
-
September 19, 2024 at 9:59 amadi959719Subscriber
Hi,Â
I would like to mention that I think that this post have similar problem I am currently having.Â
In which, I basically want a wall to act like a sink for the uds and specify the rate which the uds is being depleted at that wall. I think the way to this should be specify a flux BC at that wall and not write a define_uds_source for it.
-
September 19, 2024 at 2:35 pmRobForum Moderator
So, a specified flux. Remember scalars don't strictly have units so the value will depend on what's specified. Just be aware that the rate you remove the scalar at also has to account for the rate the scalar can reach that surface: that can cause some issues if poorly balanced.Â
-
- 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
- Non-Premixed Combustion PDF generation with 4th-order interpolation
- Where is the Electrolyte Projected Area in the Reports tab of PEMFC Model?
- ANSYS fluent – Rocky DEM coupling
- Solar load , Mesh Orientation and Beam direction
-
461
-
220
-
194
-
177
-
162
© 2024 Copyright ANSYS, Inc. All rights reserved.