CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

fvOptions & temporary temperature field (ignition)

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 8, 2023, 18:11
Default fvOptions & temporary temperature field (ignition)
  #1
New Member
 
Marcin
Join Date: May 2023
Location: Poland
Posts: 1
Rep Power: 0
dybiusz is on a distinguished road
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
dybiusz is offline   Reply With Quote

Old   May 18, 2023, 02:13
Default
  #2
Member
 
mactone hsieh
Join Date: Apr 2012
Location: Taiwan
Posts: 31
Blog Entries: 1
Rep Power: 14
mactone is on a distinguished road
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;
}
mactone is offline   Reply With Quote

Reply

Tags
fvoptions, ignition time


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Foam::error::PrintStack almir OpenFOAM Running, Solving & CFD 91 December 21, 2022 04:50
Adding temperature field to Channel Flow simulations Jan995 OpenFOAM Running, Solving & CFD 2 January 14, 2021 13:13
Excessive condensation UDF causes temperature field and pressure field disorder Su M Z Fluent UDF and Scheme Programming 1 June 22, 2020 10:56
''unknown radialModelType type Gidaspow'' PROBLEM WITH THE BED TUTORIAL AndoniBM OpenFOAM Running, Solving & CFD 2 March 25, 2015 18:44
Strange temperature field in Laval nozzle EvgenyMogilevskiy OpenFOAM Running, Solving & CFD 0 August 14, 2014 09:59


All times are GMT -4. The time now is 16:57.