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

JANAF thermo error

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By arvindpj

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 3, 2017, 05:58
Default JANAF thermo error
  #1
Member
 
Sadegh Ebadi
Join Date: Apr 2015
Posts: 75
Rep Power: 11
omid20110 is on a distinguished road
Hello everybody
I want to simulate sandia Spray H heptane combustion via sprayFoam
Please look at this: http://www.ca.sandia.gov/ecn/cvdata/...h/frameset.php
First I simulated the nonreactive case with O2 set to zero. And after some difficulties I concluded that I should run my case in 3D form (because 2D wedge gave wrong results for LPL) in order to obtain right liquid penetration length (LPL) and vapor penetration length (VPL) so I used a 30 degree sector of a cylinder (the chamber in spray H is a cylinder 108*108 mm) after that I wanted to simulate the reactive case with O2 set to 21% but my case diverges and gives unusual temperatures sometimes it gets negative but most often it rises up to more than 6000 celsius degrees, that is out of Janaf thermo range.
I hope I described everything clearly.
Now can anyone help me to solve these problems and simulate spray H combustion case?
omid20110 is offline   Reply With Quote

Old   November 3, 2017, 13:36
Default temperature limiters
  #2
Member
 
Arvind Jay
Join Date: Sep 2012
Posts: 97
Rep Power: 15
arvindpj is on a distinguished road
Try using the temperature limiters and it has helped me in the past.

Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  3.0.1                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    location    "constant";
    object      fvOptions;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

temperatureLimit
{
	type limitTemperature;


	active true;
	limitTemperatureCoeffs
	{
		selectionMode all;
		max 5000; //Tmax
		min 250.0;
	}
}/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  3.0.1                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    location    "constant";
    object      fvOptions;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

temperatureLimit
{
	type limitTemperature;


	active true;
	limitTemperatureCoeffs
	{
		selectionMode all;
		max 5000; //Tmax
		min 250.0;
	}
}
Cheers:
-J
omid20110 likes this.
arvindpj is offline   Reply With Quote

Old   November 3, 2017, 14:10
Default
  #3
Member
 
Sadegh Ebadi
Join Date: Apr 2015
Posts: 75
Rep Power: 11
omid20110 is on a distinguished road
Quote:
Originally Posted by arvindpj View Post
Try using the temperature limiters and it has helped me in the past.

Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  3.0.1                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    location    "constant";
    object      fvOptions;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

temperatureLimit
{
    type limitTemperature;


    active true;
    limitTemperatureCoeffs
    {
        selectionMode all;
        max 5000; //Tmax
        min 250.0;
    }
}/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  3.0.1                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    location    "constant";
    object      fvOptions;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

temperatureLimit
{
    type limitTemperature;


    active true;
    limitTemperatureCoeffs
    {
        selectionMode all;
        max 5000; //Tmax
        min 250.0;
    }
}
Cheers:
-J
Thanks
How should I do that?
Should I set the min and max correspondence to that of thermo.dat file?
My openFoam version is 4.1 does it have difference?
omid20110 is offline   Reply With Quote

Old   November 11, 2017, 13:18
Default
  #4
Member
 
Sadegh Ebadi
Join Date: Apr 2015
Posts: 75
Rep Power: 11
omid20110 is on a distinguished road
Quote:
Originally Posted by arvindpj View Post
Try using the temperature limiters and it has helped me in the past.

Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  3.0.1                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    location    "constant";
    object      fvOptions;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

temperatureLimit
{
    type limitTemperature;


    active true;
    limitTemperatureCoeffs
    {
        selectionMode all;
        max 5000; //Tmax
        min 250.0;
    }
}/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  3.0.1                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    location    "constant";
    object      fvOptions;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

temperatureLimit
{
    type limitTemperature;


    active true;
    limitTemperatureCoeffs
    {
        selectionMode all;
        max 5000; //Tmax
        min 250.0;
    }
}
Cheers:
-J
I tried temperature limiter but it gives error!
omid20110 is offline   Reply With Quote

Old   November 13, 2017, 10:03
Default
  #5
Member
 
Arvind Jay
Join Date: Sep 2012
Posts: 97
Rep Power: 15
arvindpj is on a distinguished road
Could you provide additional details?
-J
arvindpj is offline   Reply With Quote

Reply

Tags
janafthermo, janafthermo error, spray flame, sprayfoam


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
[OpenFOAM.org] compile error in dynamicMesh and thermophysicalModels libraries NickG OpenFOAM Installation 3 December 30, 2019 01:21
[blockMesh] blockMesh with double grading. spwater OpenFOAM Meshing & Mesh Conversion 92 January 12, 2019 10:00
[swak4Foam] GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh gschaider OpenFOAM Community Contributions 300 October 29, 2014 19:00
OpenFOAM without MPI kokizzu OpenFOAM Installation 4 May 26, 2014 10:17
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 18:51


All times are GMT -4. The time now is 00:45.