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

fvOptions fixed Temp. problem

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By RobinZ

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 17, 2016, 00:00
Default fvOptions fixed Temp. problem
  #1
New Member
 
Wilson Lee
Join Date: Oct 2015
Posts: 7
Rep Power: 11
Wilson Lee is on a distinguished road
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;
    }
}
# The red spot is the ignitionCells for which I applied the constraint.

Last edited by Wilson Lee; June 20, 2016 at 04:10.
Wilson Lee is offline   Reply With Quote

Old   November 10, 2016, 06:33
Default
  #2
New Member
 
RobinZ
Join Date: Apr 2014
Posts: 19
Rep Power: 12
RobinZ is on a distinguished road
Are you sure, that the fixedTemperatureConstraint class has the member duration?
I looked in the doxygen and couldn't see an entry like this.
killer2234 likes this.
RobinZ is offline   Reply With Quote

Old   November 13, 2016, 10:59
Default
  #3
New Member
 
WilsonLee
Join Date: Jan 2016
Posts: 7
Rep Power: 10
killer2234 is on a distinguished road
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!!
killer2234 is offline   Reply With Quote

Old   January 23, 2020, 11:49
Default
  #4
HPE
Senior Member
 
HPE's Avatar
 
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 931
Rep Power: 13
HPE is on a distinguished road
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.
HPE is offline   Reply With Quote

Old   March 29, 2021, 19:43
Default
  #5
Senior Member
 
Desh
Join Date: Mar 2021
Location: Sydney
Posts: 118
Rep Power: 5
dasith0001 is on a distinguished road
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
dasith0001 is offline   Reply With Quote

Reply


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
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


All times are GMT -4. The time now is 01:27.