fvOptions fixed Temp. problem
Hello, I am simulating a supersonic combustion case.
I couldn't figure out why the "fixedTemperatureConstraint" always exists in my field and never faded out, even if the duration time has been exceeded. The following is the code part and the figure of the problem. Please help me to figure out what's going on, thanks very much!!! Code:
source1 https://drive.google.com/file/d/0By0...ew?usp=sharing |
Are you sure, that the fixedTemperatureConstraint class has the member duration?
I looked in the doxygen and couldn't see an entry like this. |
Thank you very much for your kind reply,Robin~
I have re-checked the fixedTemperatureConstraint.H file and in doxygen, and I think you're right. There is no member "duration" & "startTime" in fixedTemperatureConstraint class. So, I know where's the problem now. Thanks!! |
The two entries should exist for that fvOptions: see the tutorial lagrangian/coalChemistryFoam/simplifiedSiwek/constant/fvOptions line:20.
And this fvOptions is derived from `#include "cellSetOption.H"`. It should definitely possess `timeStart` and `duration` entries. |
the tread is probably dead by now but it works as follows;
tempSource1 { type fixedTemperatureConstraint; active on; selectionMode cellZone; cellZone bottomSolid; fixedTemperatureConstraintCoeffs { timeStart 0.0; duration 10.0; selectionMode cellZone; cellZone bottomSolid; mode uniform; temperature 400; } } I am just wondering can we give the temperature input as a function of time? Thank you. Dasith |
All times are GMT -4. The time now is 08:27. |