Mass source UDF
I´m trying to make a UDF to define a mass source term for the continuity equation that includes the net production of mass(or destruction due to chemical reactions)) in my problem. The reactions are included in the reaction panel, and the rates are modified via another udf. I know that it is not necessary to include the overall source term in the continuity equation, since the overall production of mass due to the reactions is zero.Thanks in advance.
Is there a way to access the rates defined in my other udf to formulate the mass source udf? I have tried via the extern variables, however when i set a memory to monitor the value of the mass source term, it appears that it´s not taking the correct value.
Another thing is that the fluent user guide mentions that if you create a mass source term, you also have to create a momentum, and energy source term. Would that still be neccesary in this case?
whether u have to define a source term for momentum or energy equation depends on the function u use. eg: define_mass_transfer doesnt need mom,energy source terms separately if u define mas term...but define_source does req.. as far as i remember..Im a noob to this btw :D
check out the user manual for the specific function in udf u r using
|All times are GMT -4. The time now is 00:08.|