how to output hi in OpenFoam
hello,everyone
In Openfoam, How to output speices specific enthalpy hi? Any comments, please |
Read this section of the manual on run time code compilation:
http://www.openfoam.com/version2.0.0...me-control.php In the source code for a particular solver you specify which fields to write out when they are created, usually createFields.C. If you want the specific enthalpy of each species, you need to execute code at run-time that will write out the h field for every field i. Most likely you need to create a reference to each field with its own name (in a forAll loop) and then execute an hi.write(). You'll have to specify an interval at which these fields will be written. |
Quote:
Thank you very much! would you like to show me an example? |
Of the top of my head, it seems like you'll need something like this:
Code:
label specName; |
Thanks a lot. I will try
|
Do you have find h_i of the species? And how? Thanks.
|
All times are GMT -4. The time now is 01:02. |