|
[Sponsors] |
fvOptions & temporary temperature field (ignition) |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 8, 2023, 19:11 |
fvOptions & temporary temperature field (ignition)
|
#1 |
New Member
Marcin
Join Date: May 2023
Location: Poland
Posts: 1
Rep Power: 0 |
Dear All,
First of all I would like to say hi to all of you since this is my very firs post here. I began my journey with OpenFoam some time ago in order to simulate ramjet using reactingFoam solver. At this moment I do some test with very simple program where I try to ignite CH4 in volume of high temperature and the problem I struggle is time when this high temperature would be. I was able to set this volume like below topoSetDict: FoamFile { version 2.0; format ascii; class dictionary; object topoSetDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // actions ( { name ignitionCells; type cellSet; action new; source sphereToCell; sourceInfo { centre (-0.2 0.5 0); radius 0.05; innerRadius 0; } } ); and fvOptions : FoamFile { version 2.0; format ascii; class dictionary; location "constant"; object fvOptions; } fixedTemperature { type fixedTemperatureConstraint; timeStart 50; duration 10; selectionMode cellSet; cellSet ignitionCells; mode uniform; temperature 800; } Sphere is working , I have this 800K in place I want, problem is that I have this all the time , but I want it have only for 0.1s. I guess the problem might be in my controlDict which look like: FoamFile { version 2.0; format ascii; class dictionary; location "system"; object controlDict; } application reactingFoam; startFrom startTime; startTime 0; stopAt endTime; endTime 3; deltaT 0.01; writeControl timeStep; writeInterval 10; purgeWrite 0; writeFormat ascii; writePrecision 6; writeCompression off; timeFormat general; timePrecision 6; runTimeModifiable true; adjustTimeStep yes; maxCo 0.4; functions { #includeFunc Qdot; } Please help me with this problem. Best regards, Marcin |
|
May 18, 2023, 03:13 |
|
#2 |
Member
|
I think you should change the duration from 1 to 0.1.
fixedTemperature { type fixedTemperatureConstraint; timeStart 50; duration 10; selectionMode cellSet; cellSet ignitionCells; mode uniform; temperature 800; } |
|
Tags |
fvoptions, ignition time |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Foam::error::PrintStack | almir | OpenFOAM Running, Solving & CFD | 92 | May 21, 2024 08:56 |
Adding temperature field to Channel Flow simulations | Jan995 | OpenFOAM Running, Solving & CFD | 2 | January 14, 2021 14:13 |
Excessive condensation UDF causes temperature field and pressure field disorder | Su M Z | Fluent UDF and Scheme Programming | 1 | June 22, 2020 11:56 |
''unknown radialModelType type Gidaspow'' PROBLEM WITH THE BED TUTORIAL | AndoniBM | OpenFOAM Running, Solving & CFD | 2 | March 25, 2015 19:44 |
Strange temperature field in Laval nozzle | EvgenyMogilevskiy | OpenFOAM Running, Solving & CFD | 0 | August 14, 2014 10:59 |