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

Sanity check: different nMoles in thermophysicalProperties similar results for 2 runs

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 5, 2014, 17:50
Default Sanity check: different nMoles in thermophysicalProperties similar results for 2 runs
  #1
Senior Member
 
Andrew Somorjai
Join Date: May 2013
Posts: 175
Rep Power: 12
massive_turbulence is on a distinguished road
So I have this for my thermophsicalProperties for steam and I'm running it with the buoyantPimpleFoam hotRoom (slightly altered) case with nMoles 10 and another run with nMoles 100 and I get the same results?

Code:
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    location    "constant";
    object      thermophysicalProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

thermoType      hRhoThermo<pureMixture<constTransport<specieThermo<hConstThermo<perfectGas>>>>>;

pRef            101325;

mixture
{
    specie
    {
        nMoles          10;
        molWeight       18.02;
    }
    thermodynamics
    {
        Cp              2.26;
        Hf              333700;
    }
    transport
    {
        mu              .000000001;
        Pr              .000000001;
    }
}


// ************************************************************************* //
Shouldn't the nMoles 100 case have a lower pressure and temperature at the same endTime? I figure having more of something would take more heat to heat up no?

I did change my 0/T file to this

Code:
FoamFile
{
    version     2.0;
    format      ascii;
    class       volScalarField;
    location    "0";
    object      T;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions      [0 0 0 1 0 0 0];

internalField   uniform 273;

boundaryField
{    
    wall
    {
        type            zeroGradient;
    }   
    bottom
    {                
        type            compressible::turbulentHeatFluxTemperature;
        heatSource      power;// or flux
        q               uniform 20000;
        alphaEff        kappaEff;
        K               basicThermo;
        Cp              uniform 897;// steam
        value           uniform 673.5;
        KName             K;
    }
}
massive_turbulence is offline   Reply With Quote

Old   May 6, 2014, 17:51
Default
  #2
Senior Member
 
Andrew Somorjai
Join Date: May 2013
Posts: 175
Rep Power: 12
massive_turbulence is on a distinguished road
Nevermind, I think I figured it out. I had too many moles to begin with. After changing one of the systems (with less moles) to nMoles .01 there was definitely a big difference.
massive_turbulence 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
Wrong results in OpenFoam parallel runs visakhmg OpenFOAM Running, Solving & CFD 1 November 9, 2013 13:13
interrupt the simulation, check results, continue simulation soulsaver Phoenics 1 June 28, 2013 01:15
Wall function mesh vs y+=1 mesh gives similar results NickFSI STAR-CCM+ 0 March 12, 2013 05:35
Pause a simulation and check intermediate results AndMatri STAR-CD 2 October 19, 2012 05:59
Different results from similar quality cfx and ICEM meshes Nick R CFX 3 January 17, 2011 07:48


All times are GMT -4. The time now is 02:37.