Adding a new parameter to the injected particles
Dear friend
I want to add a property(exactly like "rho" for particles) to my particle properties. Actually I want to add "Mass Fraction" at the injection to my particles. I know that I should change KinematicParcel.C and KinematicCloud.C (constructor part), but it is a little ambiguous to me which one is an Eulerian parameter and which one is a Lagrangian parameter(I make them RED). Lets I copy the code here; Code:
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * // Thanks, Farzad |
Extra explanation
Dear friends
After reviewing the code for few times, I remembered that I remember that the green lines are for Eulerian rho(density of Fluid) and red lines are for Lagrangian(density of particle) as below; [CODE] Code:
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * // Thanks, Farzad |
All times are GMT -4. The time now is 17:04. |