CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

fvConstraints timestart and duration not working

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By alpercftc

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 18, 2022, 00:15
Default fvConstraints timestart and duration not working
  #1
New Member
 
ajithnair's Avatar
 
Ajith U K Nair
Join Date: Sep 2021
Location: Kerala
Posts: 18
Rep Power: 4
ajithnair is on a distinguished road
I am trying to povide a ignitionCellSet using toposet and control the duration of ignition source by using fvConstraints in a reactingFoam solver case as below.

--------------------------------------------------------------------------------------

FoamFile
{
format ascii;
class dictionary;
location "system";
object fvConstraints;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

source1
{
type fixedTemperatureConstraint;

timeStart 0.1;
duration 2;

selectionMode cellSet;
cellSet ignitionCells;

mode uniform;

temperature 2000;
}
--------------------------------------------------------------------------------------

But the ignition cellSet remains at 2000 temperature even after the timstep of 2.1. I tried changing the timeStart to 1,2 etc.. but that also doesnot have any change. The cellSet remains at 2000 from start to end of simulation irrespective of timeStart and duration in fvConstraints file. I copied the topoSet and fvConstraints from other tutorial case to the laminar_counterFlowFlame2D case which i have used to build my case.


Do i have to edit any solver code to fix the fvConstraints issue. im using dev version of openFoam.
ajithnair is offline   Reply With Quote

Old   June 1, 2022, 08:54
Default
  #2
New Member
 
Alper
Join Date: Jan 2022
Posts: 5
Rep Power: 4
alpercftc is on a distinguished road
Hi there,
Did you solve that problem? I have same problem too. The heating does not end.
alpercftc is offline   Reply With Quote

Old   June 2, 2022, 05:06
Default
  #3
New Member
 
ajithnair's Avatar
 
Ajith U K Nair
Join Date: Sep 2021
Location: Kerala
Posts: 18
Rep Power: 4
ajithnair is on a distinguished road
The fvConstraint had that problem where time duration did not work. One thing I did is delete the patch and ran after ignition.
But later I moved to fvOptions file and gave ignition through a heat source. You can find the file in chtMultiregionFoam tutorials reverseburner under constant folder
ajithnair is offline   Reply With Quote

Old   June 10, 2022, 18:54
Default
  #4
New Member
 
Alper
Join Date: Jan 2022
Posts: 5
Rep Power: 4
alpercftc is on a distinguished road
Quote:
Originally Posted by ajithnair View Post
The fvConstraint had that problem where time duration did not work. One thing I did is delete the patch and ran after ignition.
But later I moved to fvOptions file and gave ignition through a heat source. You can find the file in chtMultiregionFoam tutorials reverseburner under constant folder
Thanks for answer.
ajithnair likes this.
alpercftc is offline   Reply With Quote

Reply

Tags
fvconstraints, ignition temperature, ignition., reactingfoam;, toposetdict


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



All times are GMT -4. The time now is 12:36.