DEFINE_SOURCE cancellation??
1 Attachment(s)
Hi everyone,
My doubt concerns the interpretation that ANSYS does to the DEFINE_SOURCE macro, and how it is related to the User-defined Scalar transport equation. Last time I used this function, it was together with a non-zero diffusivity coefficient while simulating plasma, and I don't know if I should use DEFINE_SOURCE again if I'm not solving any kind of partial diff eq. The equation I'm using is pretty simple (attached below); it only has two variables (x and y) that are referred to the position of the point on which it would be applied and the rest are constant values. Thanks in advance. |
Define_source
Source terms are used to model generation or depletion of some field due to a reason that is not included in the simulation. What you have is an algebraic equation and can be modeled using a custom-field-function. You do not require a UDF.
|
1 Attachment(s)
Quote:
I'm even more confused, but as DEFINE_SOURCE is defined by [N/m^3] I thought it was the correct way to do it. I'll wait for your reply. Thanks a lot |
Body Force
Where is body force being used in the equation? Do you mean the thrust? Fluent only reports field variables and not integrals, which you might need. In that case, you have to write an expression instead of CFF.
|
Quote:
Thank you. |
Thrust
|
This equation is defining the maximum thrust per unit depth in X axis that is produced by a plasma actuator. This term has to be applied directly as a source term to the NS equations, and is constant through time, it doesn't depend on any field apart from the distances x and y respect to a point defined by the user.
|
Source Term
I'd recommend you to read my first post again.
You need to use DEFINE_SOURCE. |
Quote:
Thanks a lot Vinerm |
All times are GMT -4. The time now is 08:25. |