How to use Cp and Cv filds in groovyBC?
Hi
I want to use Cp and Cv fields in groovyBC as I told in the title. does it need that these fields necessarily be written in time folders so that groovyBC can use them or not? how to introduce these fields that computes by the solver(as Mach postProcessing tool uses them) to groovyBC? I have written these lines in variables: Code:
//"gamma=thermo.Cp()/thermo.Cv();" Code:
--> FOAM FATAL ERROR: |
Quote:
If the solver does not provide the field in memory (use the listRegisteredObjects from the simpleFunctionObjects to check) then you can create an expressionField-functionObject to create such a field using the appropriate function from the libswakThermoTurbFunctionPlugin.so (you've got to add that lib to the libs-entry in controlDict then these functions are available to you) |
thanks Bernhard for explanations
a little question:in which folder I have to use listRegisteredObjects? |
Quote:
|
All times are GMT -4. The time now is 09:27. |