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

Unit of Parameters in rhoCentralFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 13, 2022, 16:00
Question Unit of Parameters in rhoCentralFoam
  #1
New Member
 
Fuad Hasibul Hasan
Join Date: Feb 2022
Location: Dhaka, Bangladesh
Posts: 7
Rep Power: 4
fuad is on a distinguished road
I am trying to modify the $FOAM_TUTORIAL/compressible/rhoCentralFoam/forwardStep of OF-2106. Then I only changed the values of velocity, pressure, temperature, and thermophysical properties to S.I. units. While this tutorial uses normalized gas. Changed the velocity, temperature, pressure from unity to 930 m/s, 873 K and 1.35e7 Pa respectively. The constant/thermoPhysicalProperties file looks like this.
Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  v2106                                 |
|   \\  /    A nd           | Website:  www.openfoam.com                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    object      thermophysicalProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

thermoType
{
    type            hePsiThermo;
    mixture         pureMixture;
    transport       polynomial; 
    thermo          hPolynomial; 
    equationOfState PengRobinsonGas; 
    specie          specie;
    energy          sensibleEnthalpy;

// Note: these are the properties for a "normalised" inviscid gas
//       for which the speed of sound is 1 m/s at a temperature of 1K
//       and gamma = 7/5
mixture
{
    specie
    {
        molWeight       18; 
    }
   
    thermodynamics
    {
       CpCoeffs<8>     ( 3.91269e4 -1.17335e2 1.2620e-1 4.556e-5 0 0 0 0 ); //
       Hf		3.59431e06;
       Sf		6735.18;
    }
    transport
    {
       muCoeffs<8>     ( 1000 -0.05 0.003 0 0 0 0 0 ); //
       kappaCoeffs<8>  ( -1.3719e-5 7.136029e-8 -2.4915e-11 5.6244e-15 0 0 0 0 ); //
    }

    equationOfState
    {
        Tc        647.27; // critical temp (K)
        Vc        0.056; // critical volume (m^3/kmol)
        Pc        22.12e6; //critical pressure (Pa)
        omega     0.343; // acentric factor (-) 

    }
}


// ************************************************************************* //

This causes either the simulation to diverge or to maximum number of iteration error.
Is this problem related to unit of the parameters? I've checked other tutorials for rhoCentralFoam and they use S.I. unit. I am not sure what causes this issue. I tried a lot of solutions provided in this forum but none of them worked.
Here is a log file attached for convenience.
Attached Files
File Type: txt log.txt (117.5 KB, 1 views)
fuad is offline   Reply With Quote

Reply

Tags
normalised parameter, normalization, rhocentrafoam, s.i. unit


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
Solver parameters to solve convergence issue WilliamH SU2 5 February 5, 2021 06:19
Pro/E to ANSYS Parameterization Guide Trues ANSYS 4 April 18, 2018 05:52
Grid I Unit Normal and Grid J Unit Normal pawansut Tecplot 4 July 31, 2017 18:14
how to caculate the mass of impacting particles per unit area and per unit time? xyq916 CFX 0 October 8, 2015 08:55
Parameters rhoSimpleFoam marcus85 OpenFOAM Pre-Processing 0 May 15, 2013 09:36


All times are GMT -4. The time now is 07:15.