|
[Sponsors] |
June 17, 2016, 00:00 |
fvOptions fixed Temp. problem
|
#1 |
New Member
Wilson Lee
Join Date: Oct 2015
Posts: 7
Rep Power: 11 |
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 { type fixedTemperatureConstraint; active true; timeStart 0.002;//0.001;//5e-8; duration 5e-6;//1e-5; fixedTemperatureConstraintCoeffs { selectionMode cellSet; cellSet ignitionCells; mode uniform; temperature 3000; } } Last edited by Wilson Lee; June 20, 2016 at 04:10. |
|
November 10, 2016, 06:33 |
|
#2 |
New Member
RobinZ
Join Date: Apr 2014
Posts: 19
Rep Power: 12 |
Are you sure, that the fixedTemperatureConstraint class has the member duration?
I looked in the doxygen and couldn't see an entry like this. |
|
November 13, 2016, 10:59 |
|
#3 |
New Member
WilsonLee
Join Date: Jan 2016
Posts: 7
Rep Power: 10 |
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!! |
|
January 23, 2020, 11:49 |
|
#4 |
Senior Member
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 931
Rep Power: 13 |
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 OpenFOAM community is the biggest contributor to OpenFOAM: User guide/Wiki-1/Wiki-2/Code guide/Code Wiki/Journal Nilsson/Guerrero/Holzinger/Holzmann/Nagy/Santos/Nozaki/Jasak/Primer Governance Bugs/Features: OpenFOAM (ESI-OpenCFD-Trademark) Bugs/Features: FOAM-Extend (Wikki-FSB) Bugs: OpenFOAM.org How to create a MWE New: Forkable OpenFOAM mirror |
|
March 29, 2021, 19:43 |
|
#5 |
Senior Member
Desh
Join Date: Mar 2021
Location: Sydney
Posts: 118
Rep Power: 5 |
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 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem with parallel run | boubou | CFX | 4 | June 10, 2015 05:15 |
problem with fvOptions in twophase eulerfoam | Hamzeh_Mirab | OpenFOAM Running, Solving & CFD | 0 | January 27, 2015 12:04 |
Can I solve this problem by Fluent? | Kai_kc | FLUENT | 1 | October 27, 2010 06:29 |
static temperature is higher than total temp. in buoyancy problem | amirbahador | FLUENT | 2 | October 24, 2010 08:21 |
Non-premixed comb. temp prediction; PDF problem | K. Jagus | FLUENT | 4 | October 5, 2005 09:32 |