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

reactingFoam SandiaD_LTS tutorial error

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By kerim

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 15, 2019, 23:01
Default reactingFoam SandiaD_LTS tutorial error
  #1
New Member
 
Fantastic Boy
Join Date: Oct 2017
Posts: 11
Rep Power: 8
kit607 is on a distinguished road
Hi all. I am using OpenFOAM 6 and I am trying the tutorial SandiaD_LTS. I just use the Allrun file to start the simulation without modifying any parameters. However, there is error for the setFields which shows below.

Code:
/*---------------------------------------------------------------------------*\
  =========                 |
  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
   \\    /   O peration     | Website:  https://openfoam.org
    \\  /    A nd           | Version:  6
     \\/     M anipulation  |
\*---------------------------------------------------------------------------*/
Build  : 6-fa1285188035
Exec   : setFields
Date   : Oct 16 2019
Time   : 10:47:04
Host   : "mgt-aaibe"
PID    : 30000
I/O    : uncollated
Case   : /home/mgt-aaibe/OpenFOAM/mgt-aaibe-6/run/combustion_test
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10)
allowSystemOperations : Allowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 1500

Reading setFieldsDict

Setting field default values
--> FOAM Warning : 
    From function bool setCellFieldType(const Foam::word&, const Foam::fvMesh&, const labelList&, Foam::Istream&) [with Type = double; Foam::labelList = Foam::List<int>]
    in file setFields.C at line 117
    Field T not found
--> FOAM Warning : 
    From function bool setCellFieldType(const Foam::word&, const Foam::fvMesh&, const labelList&, Foam::Istream&) [with Type = double; Foam::labelList = Foam::List<int>]
    in file setFields.C at line 117
    Field N2 not found
--> FOAM Warning : 
    From function bool setCellFieldType(const Foam::word&, const Foam::fvMesh&, const labelList&, Foam::Istream&) [with Type = double; Foam::labelList = Foam::List<int>]
    in file setFields.C at line 117
    Field O2 not found
--> FOAM Warning : 
    From function bool setCellFieldType(const Foam::word&, const Foam::fvMesh&, const labelList&, Foam::Istream&) [with Type = double; Foam::labelList = Foam::List<int>]
    in file setFields.C at line 117
    Field CH4 not found

Setting field region values
    Adding cells with center within boxes 1((0 -10 -100) (0.0036 10 0))
--> FOAM Warning : 
    From function bool setCellFieldType(const Foam::word&, const Foam::fvMesh&, const labelList&, Foam::Istream&) [with Type = double; Foam::labelList = Foam::List<int>]
    in file setFields.C at line 117
    Field CH4 not found
--> FOAM Warning : 
    From function bool setCellFieldType(const Foam::word&, const Foam::fvMesh&, const labelList&, Foam::Istream&) [with Type = double; Foam::labelList = Foam::List<int>]
    in file setFields.C at line 117
    Field O2 not found
--> FOAM Warning : 
    From function bool setCellFieldType(const Foam::word&, const Foam::fvMesh&, const labelList&, Foam::Istream&) [with Type = double; Foam::labelList = Foam::List<int>]
    in file setFields.C at line 117
    Field N2 not found

End
Is my installtion of OF got error or I miss out some step when I run the simulation? Thank you
kit607 is offline   Reply With Quote

Old   July 6, 2020, 18:13
Default
  #2
New Member
 
Imed
Join Date: Mar 2014
Location: https://t.me/pump_upp
Posts: 10
Rep Power: 12
Imed is on a distinguished road
Send a message via ICQ to Imed Send a message via AIM to Imed Send a message via Yahoo to Imed
hi there;
i had the same problem but I could fix it, if you still want fixing the problem I can help
Imed is offline   Reply With Quote

Old   December 6, 2020, 08:34
Default
  #3
New Member
 
Haynes
Join Date: Dec 2020
Posts: 3
Rep Power: 5
h_kuriakose is on a distinguished road
I know, it's a late reply. But incase you need it, you can find the documentation and simulation files for Sandia D flame tutorial


https://www.cemf.ir/reactingfoam-how...e-by-openfoam/

h_kuriakose is offline   Reply With Quote

Old   December 6, 2020, 18:27
Default
  #4
New Member
 
Imed
Join Date: Mar 2014
Location: https://t.me/pump_upp
Posts: 10
Rep Power: 12
Imed is on a distinguished road
Send a message via ICQ to Imed Send a message via AIM to Imed Send a message via Yahoo to Imed
Hi;
Thank you very much for you replay, it is very useful thanks again.
Imed is offline   Reply With Quote

Old   February 9, 2021, 08:09
Default
  #5
New Member
 
serg
Join Date: Dec 2015
Posts: 28
Rep Power: 10
kont87 is on a distinguished road
Quote:
Originally Posted by Imed View Post
hi there;
i had the same problem but I could fix it, if you still want fixing the problem I can help

Hello! Could you help me? Having the same problem
Thanks in advance!
kont87 is offline   Reply With Quote

Old   December 6, 2021, 14:00
Default
  #6
Senior Member
 
abdikerim kurbanaliev
Join Date: Jun 2010
Location: Kyrgyzstan, Osh
Posts: 120
Rep Power: 15
kerim is on a distinguished road
Dear all. I am using OpenFOAM 7 and I am trying the tutorial SandiaD_LTS without any modification. I just used the Allrun file to start. But I have Floating point exception (core dumped) error after 3719 iteration.

Could you help me?
Attached Images
File Type: jpg Screenshot from 2021-12-07 00-57-11.jpg (134.8 KB, 17 views)
kerim is offline   Reply With Quote

Old   December 20, 2021, 18:19
Unhappy "cannot find patchField entry" problems for SandiaD_LTS
  #7
New Member
 
Uğur
Join Date: Nov 2021
Location: Ankara
Posts: 3
Rep Power: 4
ugata88 is on a distinguished road
Hello everyone, I am new to openfoam and need to simulate nonpremixed combustion in openfoam-9, for this ı select SandiaD_LTS solver

1 .I created axi-symmetric cylinder geometry for 2D case on Salome-Meca 2015, also used seperated small angle (3 degre) wedge planes,

2 .I created patchfiled for inletCH4 (patch), inletair(patch), outlet (patch), frontandBack_pos (wedge) ,frontandBack_neg (wedge)

3. for meshing I used Netgen 2d3d algorithm and 3d parameters hypotheses

4. Exporting .unv mesh file to openfoam

5. I used chemkinToFoam, ideasUnvToFoam, so that constant/polymesh file is appeared, checkMesh is OK ,

6. After that, I arranged system/setFieldsDict for initializing inletCH4 field and running reactinFoam, so I encountered the following message;


--> FOAM FATAL IO ERROR:
Cannot find patchField entry for frontandBack_pos

file: /home/ugur/OpenFOAM/ugur-9/run/SandiaD_LTS/0/T/boundaryField from line 25 to line 52.

From function void Foam::GeometricField<Type, PatchField, GeoMesh>::Boundary::readField(const Foam:imensionedField<TypeR, GeoMesh>&, const Foam::dictionary&) [with Type = double; PatchField = Foam::fvPatchField; GeoMesh = Foam::volMesh]
in file /home/ubuntu/OpenFOAM/OpenFOAM-9/src/OpenFOAM/lnInclude/GeometricBoundaryField.C at line 184.

FOAM exiting

about the message, also I selected wedge patch type for frontandBack_pos and frontandBack_neg in constant / polyMesh /boundary

6
(
inletCH4
{
type patch;
nFaces 7;
startFace 64411;
}
inletair
{
type patch;
nFaces 20;
startFace 64418;
}
outlet
{
type patch;
nFaces 27;
startFace 64438;
}
wallTube
{
type patch;
nFaces 593;
startFace 64465;
}
frontandBack_pos
{
type patch;
nFaces 12980;
startFace 65058;
}
frontandBack_neg
{
type patch;
nFaces 13215;
startFace 78038;
}
)


and, also I selected initial temperature for my boundaryField in 0/T , as like this ;

dimensions [0 0 0 1 0 0 0];

internalField uniform 295;

boundaryField
{
inletCH4
{
type fixedValue;
value uniform 295;
}

wallTube
{
type zeroGradient;
}

inletair
{
type fixedValue;
value uniform 295;
}

outlet
{
type zeroGradient;
}

frontAndBack_pos
{
type wedge;
}

frontAndBack_neg
{
type wedge;
}
}


I feel so helpless and tired. Does anyone have a solution for this issue or have encountered this type of problem?
Thank you for your help in advance.
ugata88 is offline   Reply With Quote

Old   January 11, 2022, 10:11
Default
  #8
Member
 
Julio Pieri
Join Date: Sep 2017
Posts: 96
Rep Power: 8
JulioPieri is on a distinguished road
Quote:
Originally Posted by ugata88 View Post
Hello everyone, I am new to openfoam and need to simulate nonpremixed combustion in openfoam-9, for this ı select SandiaD_LTS solver

1 .I created axi-symmetric cylinder geometry for 2D case on Salome-Meca 2015, also used seperated small angle (3 degre) wedge planes,

2 .I created patchfiled for inletCH4 (patch), inletair(patch), outlet (patch), frontandBack_pos (wedge) ,frontandBack_neg (wedge)

3. for meshing I used Netgen 2d3d algorithm and 3d parameters hypotheses

4. Exporting .unv mesh file to openfoam

5. I used chemkinToFoam, ideasUnvToFoam, so that constant/polymesh file is appeared, checkMesh is OK ,

6. After that, I arranged system/setFieldsDict for initializing inletCH4 field and running reactinFoam, so I encountered the following message;


--> FOAM FATAL IO ERROR:
Cannot find patchField entry for frontandBack_pos

file: /home/ugur/OpenFOAM/ugur-9/run/SandiaD_LTS/0/T/boundaryField from line 25 to line 52.

From function void Foam::GeometricField<Type, PatchField, GeoMesh>::Boundary::readField(const Foam:imensionedField<TypeR, GeoMesh>&, const Foam::dictionary&) [with Type = double; PatchField = Foam::fvPatchField; GeoMesh = Foam::volMesh]
in file /home/ubuntu/OpenFOAM/OpenFOAM-9/src/OpenFOAM/lnInclude/GeometricBoundaryField.C at line 184.

FOAM exiting

about the message, also I selected wedge patch type for frontandBack_pos and frontandBack_neg in constant / polyMesh /boundary

6
(
inletCH4
{
type patch;
nFaces 7;
startFace 64411;
}
inletair
{
type patch;
nFaces 20;
startFace 64418;
}
outlet
{
type patch;
nFaces 27;
startFace 64438;
}
wallTube
{
type patch;
nFaces 593;
startFace 64465;
}
frontandBack_pos
{
type patch;
nFaces 12980;
startFace 65058;
}
frontandBack_neg
{
type patch;
nFaces 13215;
startFace 78038;
}
)


and, also I selected initial temperature for my boundaryField in 0/T , as like this ;

dimensions [0 0 0 1 0 0 0];

internalField uniform 295;

boundaryField
{
inletCH4
{
type fixedValue;
value uniform 295;
}

wallTube
{
type zeroGradient;
}

inletair
{
type fixedValue;
value uniform 295;
}

outlet
{
type zeroGradient;
}

frontAndBack_pos
{
type wedge;
}

frontAndBack_neg
{
type wedge;
}
}


I feel so helpless and tired. Does anyone have a solution for this issue or have encountered this type of problem?
Thank you for your help in advance.

Seems that you have a lower case problem there. Your mesh is defined with frontandBack_pos, while your BCs are frontAndBack_pos
JulioPieri is offline   Reply With Quote

Old   January 13, 2022, 07:24
Default
  #9
New Member
 
Uğur
Join Date: Nov 2021
Location: Ankara
Posts: 3
Rep Power: 4
ugata88 is on a distinguished road
Julio, thanks for attention first of all, You're right, I realized latter. For meshing I used blockMesh utility instead of Salome, Netgen algorithm. Becasuse of this, I annihilated skewness and ortogonality problems. But, ı have a new problem about initial k-epsilon values
ugata88 is offline   Reply With Quote

Old   January 13, 2022, 12:15
Default
  #10
Member
 
Julio Pieri
Join Date: Sep 2017
Posts: 96
Rep Power: 8
JulioPieri is on a distinguished road
For that you check the OF user guide or other regular resources. There are typical calculations for that!
JulioPieri is offline   Reply With Quote

Old   January 26, 2022, 20:07
Default
  #11
New Member
 
Sanjan
Join Date: Jan 2022
Posts: 3
Rep Power: 4
altair98 is on a distinguished road
Quote:
Originally Posted by kerim View Post
Dear all. I am using OpenFOAM 7 and I am trying the tutorial SandiaD_LTS without any modification. I just used the Allrun file to start. But I have Floating point exception (core dumped) error after 3719 iteration.

Could you help me?
Were you able to solve this issue?
I am facing the same.
altair98 is offline   Reply With Quote

Old   January 27, 2022, 04:27
Default reactingFoam SandiaD_LTS tutorial error
  #12
Senior Member
 
abdikerim kurbanaliev
Join Date: Jun 2010
Location: Kyrgyzstan, Osh
Posts: 120
Rep Power: 15
kerim is on a distinguished road
Quote:
Originally Posted by altair98 View Post
Were you able to solve this issue?
I am facing the same.
Unfortunately, I haven't solved this problem. The same situation with newer versions of OpenFOAM8 and OpenFOAM9. However, older versions work well!
kerim is offline   Reply With Quote

Old   January 27, 2022, 08:40
Default
  #13
New Member
 
Sanjan
Join Date: Jan 2022
Posts: 3
Rep Power: 4
altair98 is on a distinguished road
Thank you for letting me know. Could you mention which version seems to work because OpenFOAM v6 did not produce accurate results as mentioned in Sandia Flame D OpenFoam tutorial case - bad result?
I wonder if a particular version produces accurate results.
Thank you again
altair98 is offline   Reply With Quote

Old   January 27, 2022, 09:40
Default
  #14
Senior Member
 
abdikerim kurbanaliev
Join Date: Jun 2010
Location: Kyrgyzstan, Osh
Posts: 120
Rep Power: 15
kerim is on a distinguished road
Quote:
Originally Posted by altair98 View Post
Thank you for letting me know. Could you mention which version seems to work because OpenFOAM v6 did not produce accurate results as mentioned in Sandia Flame D OpenFoam tutorial case - bad result?
I wonder if a particular version produces accurate results.
Thank you again
There is no ignition in the OF6 standard tutorial. Please try another turbulence model, for example, RNG k-epsilon model.
altair98 likes this.
kerim is offline   Reply With Quote

Old   January 27, 2022, 18:19
Default
  #15
New Member
 
Sanjan
Join Date: Jan 2022
Posts: 3
Rep Power: 4
altair98 is on a distinguished road
Quote:
Originally Posted by kerim View Post
There is no ignition in the OF6 standard tutorial. Please try another turbulence model, for example, RNG k-epsilon model.
Running in OF7 with any other turbulence model produces good results as compared with experimental data from https://tnfworkshop.org/data-archive...edjet/ch4-air/
Thank you for your suggestions!
altair98 is offline   Reply With Quote

Old   January 28, 2022, 01:10
Default
  #16
Senior Member
 
abdikerim kurbanaliev
Join Date: Jun 2010
Location: Kyrgyzstan, Osh
Posts: 120
Rep Power: 15
kerim is on a distinguished road
Quote:
Originally Posted by altair98 View Post
Running in OF7 with any other turbulence model produces good results as compared with experimental data from https://tnfworkshop.org/data-archive...edjet/ch4-air/
Thank you for your suggestions!
I'm glad to hear that. Good luck.
kerim is offline   Reply With Quote

Reply

Tags
reactingfoam, tutorial

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Compile problem ivanyao OpenFOAM Running, Solving & CFD 1 October 12, 2012 09:31
Ansys Fluent 13.0 UDF compilation problem in Window XP (32 bit) Yogini Fluent UDF and Scheme Programming 7 October 3, 2012 07:24
ParaView for OF-1.6-ext Chrisi1984 OpenFOAM Installation 0 December 31, 2010 06:42
CGNS lib and Fortran compiler manaliac Main CFD Forum 2 November 29, 2010 06:25
Problem with compile the setParabolicInlet ivanyao OpenFOAM Running, Solving & CFD 6 September 5, 2008 20:50


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