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

rhoSimplecFoam with setFields

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 11, 2015, 05:08
Default rhoSimplecFoam with setFields
  #1
New Member
 
Sinasi Bahceci
Join Date: Jan 2015
Posts: 13
Rep Power: 7
sino75 is on a distinguished road
Hi,

I want to use rhoSimplecFoam for a two-phase-flow. One phase is air, so I took the tutorial as basic. The other phase is a fuel mixture, which is injected into the air stream. Now I have used setFields for the injection canal. SetFields works, but when I run rhoSimplecFoam, I get following error:

~/OpenFOAM/.../rhoSimplecFoam_...$ rhoSimplecFoam >log
#0 Foam::error:rintStack(Foam::Ostream&) at ??:?
#1 Foam::sigFpe::sigHandler(int) at ??:?
#2 in "/lib/x86_64-linux-gnu/libc.so.6"
#3 Foam::hePsiThermo<Foam:siThermo, Foam:ureMixture<Foam::sutherlandTransport<Foam:: species::thermo<Foam::hConstThermo<Foam:erfectGa s<Foam::specie> >, Foam::sensibleInternalEnergy> > > >::calculate() at ??:?
#4 Foam::hePsiThermo<Foam:siThermo, Foam:ureMixture<Foam::sutherlandTransport<Foam:: species::thermo<Foam::hConstThermo<Foam:erfectGa s<Foam::specie> >, Foam::sensibleInternalEnergy> > > >::correct() at ??:?
#5
at ??:?
#6 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#7
at ??:?
Gleitkomma-Ausnahme

It seems that there is a problem with thermophysical properties.
Besides, I didn't really understand the combination between setFields and rhoSimplecFoam. When I use setFields for two phases, what is the mixture specification in thermophysical properties for?
Can someone please help me? I would be glad about papers or cases, in which this combination is explained.

Thanks in regard.

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

thermoType
{
type hePsiThermo;
mixture pureMixture;
transport sutherland;
thermo hConst;
equationOfState perfectGas;
specie specie;
energy sensibleInternalEnergy;
}

mixture
{
specie
{
nMoles 1;
molWeight 28.9;
}
thermodynamics
{
Cp 1007;
Hf 0;
}
transport
{
As 1.4792e-06;
Ts 116;
}
}


/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.1 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object alpha.methane;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [0 0 0 0 0 0 0];

internalField uniform 0;

boundaryField
{
AXIS
{
type empty;
}
OUTLET
{
type inletOutlet;
inletValue uniform 0;
value uniform 0;
}
COFLOW
{
type inletOutlet;
inletValue uniform 0;
value uniform 0;
}
BLUFF
{
type zeroGradient;
}
FUEL
{
type inletOutlet;
inletValue uniform 1;
value uniform 1;
}
WALL
{
type zeroGradient;
}
BLUFF_WALL
{
type fixedValue;
value uniform 0;
}
JET_WALL
{
type fixedValue;
value uniform 1;
}
front
{
type wedge;
}
back
{
type wedge;
}
defaultFaces
{
type empty;
}
}


// ************************************************** *********************** //
sino75 is offline   Reply With Quote

Reply

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
setFields not working dsanza OpenFOAM 4 October 18, 2018 10:43
Can run setFields in parallel while decomposed? totalart OpenFOAM Running, Solving & CFD 2 August 21, 2018 00:07
how to use setFields in multiregionsolver lg88 OpenFOAM 15 July 11, 2018 13:30
Problems with the execution of the setFields utility. foamer OpenFOAM Pre-Processing 5 June 3, 2013 13:24
setFields tool does not assign water volume for given mesh. paka OpenFOAM 2 June 7, 2012 10:17


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