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

Unexpected jump in Velocity & Temp across shock using pisoCentralFoam &rhoCentralFoam

Register Blogs Community New Posts Updated Threads Search

Like Tree4Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 22, 2016, 07:03
Default Unexpected jump in Velocity & Temp across shock using pisoCentralFoam &rhoCentralFoam
  #1
New Member
 
chirag khalde
Join Date: Sep 2011
Posts: 22
Rep Power: 15
chirag is on a distinguished road
Dear Foamers,
I am trying to simulate single phase supersonic flow in an axisymmetric cylinder.
(attached image of the domain)
Mesh(made from blockMesh looks good in CheckMesh option (inlet radius is 2mm, and length from depositor to inlet is 360 mm )
Quote:
Create time
Create polyMesh for time = 0
Time = 0
Mesh stats
points: 321133
internal points: 0
faces: 639485
internal faces: 318353
cells: 159719
faces per cell: 5.99701976596
boundary patches: 7
point zones: 0
face zones: 0
cell zones: 0
Overall number of cells of each type:
hexahedra: 159243
prisms: 476
wedges: 0
pyramids: 0
tet wedges: 0
tetrahedra: 0
polyhedra: 0
Checking topology...
Boundary definition OK.
Cell to face addressing OK.
Point usage OK.
Upper triangular ordering OK.
Face vertices OK.
Number of regions: 1 (OK).
Checking patch topology for multiply connected surfaces...
Patch Faces Points Surface topology
INLET 15 31 ok (non-closed singly connected)
OUTLET 41 84 ok (non-closed singly connected)
axi_symm-r 159719 160805 ok (non-closed singly connected)
axi_symm-f 159719 160805 ok (non-closed singly connected)
WALL 1179 2362 ok (non-closed singly connected)
DEPOSITOR 459 919 ok (non-closed singly connected)
defaultFaces 0 0 ok (empty)
Checking geometry...
Overall domain bounding box (0 -0.007077245605 0) (0.81 0.007077245605 0.1620955781)
Mesh (non-empty, non-wedge) directions (1 0 1)
Mesh (non-empty) directions (1 1 1)
Wedge axi_symm-r with angle 2.49999994081 degrees
Wedge axi_symm-f with angle 2.49999994081 degrees
All edges aligned with or perpendicular to non-empty directions.
Boundary openness (1.14422845077e-18 3.11071914992e-14 -1.76617364122e-15) OK.
Max cell openness = 2.47634235044e-16 OK.
Max aspect ratio = 22.5016842093 OK.
Minimum face area = 7.74717731676e-10. Maximum face area = 7.06247921513e-05. Face area magnitudes OK.
Min volume = 1.12277931947e-13. Max volume = 4.99740290618e-08. Total volume = 0.000868728818364. Cell volumes OK.
Mesh non-orthogonality Max: 0.571696746183 average: 0.0101664178209
Non-orthogonality check OK.
Face pyramids OK.
Max skewness = 0.330796465233 OK.
Coupled point location match (average 0) OK.
Mesh OK.
End
Following are my B.C:
T
Quote:
INLET
{
type totalTemperature;
value uniform 11800;
T0 uniform 12000;
U U;
phi phi;
psi thermosi;
gamma 1.67;


}
OUTLET
{
type zeroGradient;
}

DEPOSITOR
{
type fixedValue;
value uniform 300;
}
WALL
{
type fixedValue;
value uniform 300;
}
axi_symm-r
{
type wedge;
}
axi_symm-f
{
type wedge;
}

defaultFaces
{
type empty;
}
Quote:
dimensions [1 -1 -2 0 0 0 0];

internalField uniform 100;

boundaryField
{
/* INLET
{
type fixedValue;
value uniform 20000;
}

OUTLET
{
type fixedValue;
value uniform 100;
}
*/
INLET
{
type totalPressure;
p0 uniform 20000;
U U;
phi phi;
rho rho;
psi none;
gamma 1.67;
value uniform 20000;
}

OUTLET
{
type waveTransmissive;
field p;
phi phi;
rho rho;
psi thermosi;
gamma 1.67;
fieldInf 100;
lInf 0.0001;
value uniform 100;
}

WALL
{
type zeroGradient;
}

DEPOSITOR
{
type zeroGradient;
}

axi_symm-r
{
type wedge;
}

axi_symm-f
{
type wedge;
}

defaultFaces
{
type empty;
}
}
U
Quote:
U
INLET
{
type zeroGradient;
}
OUTLET
{
type zeroGradient;
}
DEPOSITOR
{
type fixedValue;
value uniform (0 0 0);
}
WALL
{
type fixedValue;
value uniform (0 0 0);
}
axi_symm-r
{
type wedge;
}
axi_symm-f
{
type wedge;
}

defaultFaces
{
type empty;
}
k
Quote:
INLET
{
type fixedValue;
value uniform 0.1544303;
}
OUTLET
{
type inletOutlet;
inletValue uniform 0.1544303;
value uniform 0.1544303;
}
WALL
{
type compressible::kqRWallFunction;
value uniform 0.1544303;
}
DEPOSITOR
{
type compressible::kqRWallFunction;
value uniform 0.1544303;
epsilon
Quote:
INLET
{
type fixedValue;
value uniform 67.93;
}
OUTLET
{
type inletOutlet;
inletValue uniform 67.93;
value uniform 67.93;
}
DEPOSITOR
{
type compressible::epsilonWallFunction;
value uniform 67.93;
}
WALL
{
type compressible::epsilonWallFunction;
value uniform 67.93;
}
FVSchemes are as follows:
Quote:
ddtSchemes
{
default Euler;
}

gradSchemes
{
default leastSquares; //Gauss linear;
}

divSchemes
{
default none;
div((-devRhoReff&U)) Gauss linear;
div((muEff*dev2(T(grad(U))))) Gauss linear;

//momentum equation
div(phiNeg,U) Gauss upwind;//vanLeer;
div(phiPos,U) Gauss upwind;//vanLeer;

//energy equation
div(phiNeg,h) Gauss upwind;//vanLeer;
div(phiPos,h) Gauss upwind;//vanLeer;
div(phiNeg,Ek) Gauss upwind;//vanLeer;
div(phiPos,Ek) Gauss upwind;//vanLeer;

//continuity equation
div(phid_neg,p) Gauss upwind;//vanLeer;
div(phid_pos,p) Gauss upwind;//vanLeer;

div(phi,epsilon) Gauss upwind;//vanLeer;
div(phi,k) Gauss upwind;//vanLeer;
}

laplacianSchemes
{
default Gauss linear corrected;
}

interpolationSchemes
{
default none;// limitedLinear psi 1.0;//none;

interpolate(rho) linear;
interpolate((rho*U)) linear;

reconstruct(psi) vanLeer;
reconstruct(p) vanLeer;
reconstruct(U) vanLeerV;
reconstruct(Dp) vanLeer;
}

snGradSchemes
{
default limited 0.5;//corrected;
}

fluxRequired
{
default none;
p;
A comparison with experimental and CFD is done.
There is a spike observed near the shock region in rhoCentralFoam and PisoCentralFoam.
This is not the case with Fluent and it gives good agreement with literature and experimental data.
I am unable to figure out why a discontinuity observed in the results?

comparison-1.png

meshmain.jpg

Vmag-OF1.jpg

pisocent_foam.zip

Last edited by chirag; January 23, 2016 at 11:08.
chirag is offline   Reply With Quote

Old   January 23, 2016, 09:42
Default
  #2
New Member
 
Luka Denies
Join Date: Oct 2014
Posts: 28
Rep Power: 12
LukaD is on a distinguished road
Hey there,

Can you also give the boundary conditions for pressure? It looks like you put those of velocity but not pressure. Although I suppose you put totalPressure at the inlet and zeroGradient at the outlet, which would be the correct b.c.

The first thing that comes to mind is: do you know for sure that the simulation is converged? Yours for some reason makes me think it is not fully converged yet. There are quite some threads here how to recognize a properly converged solution.
LukaD is offline   Reply With Quote

Old   January 23, 2016, 11:06
Default
  #3
New Member
 
chirag khalde
Join Date: Sep 2011
Posts: 22
Rep Power: 15
chirag is on a distinguished road
Hi LukeD,
I guess It has converged I have simulated it for really long time. My maximum velocity is 3000 m/s . so the particle sweeps through domain atleast 30 times.
Thanks in advance!
Chirag
chirag is offline   Reply With Quote

Old   January 23, 2016, 11:11
Default
  #4
New Member
 
chirag khalde
Join Date: Sep 2011
Posts: 22
Rep Power: 15
chirag is on a distinguished road
Hi LukeD,
https://drive.google.com/file/d/0B5_...ew?usp=sharing
I have shared the results in google drive too along with all the files
Can you please go through them ?
Thanks in advance!
Chirag
chirag is offline   Reply With Quote

Old   January 23, 2016, 11:45
Default
  #5
New Member
 
chirag khalde
Join Date: Sep 2011
Posts: 22
Rep Power: 15
chirag is on a distinguished road
Quote:
Originally Posted by LukaD View Post
Hey there,

Can you also give the boundary conditions for pressure? It looks like you put those of velocity but not pressure. Although I suppose you put totalPressure at the inlet and zeroGradient at the outlet, which would be the correct b.c.

The first thing that comes to mind is: do you know for sure that the simulation is converged? Yours for some reason makes me think it is not fully converged yet. There are quite some threads here how to recognize a properly converged solution.
Hi LukeD,
I have to maintain the chamber at T and P of(100 Pa, 300K). High energy gas (20000 Pa, 12000 k) enters the chamber and results in underexpanded flow through nozzle.
I am using totalPressure at inlet and waveTransmissive pressure B.C at outlet.
I have used similar B.C in fluent and results seem to be in very good agreement with exp and dsmc.
Thank you,
Chirag
chirag is offline   Reply With Quote

Old   January 23, 2016, 14:25
Default
  #6
Senior Member
 
mkraposhin's Avatar
 
Matvey Kraposhin
Join Date: Mar 2009
Location: Moscow, Russian Federation
Posts: 355
Rep Power: 21
mkraposhin is on a distinguished road
Hi,

can you add a small converging region at the inlet?
mkraposhin is offline   Reply With Quote

Old   January 23, 2016, 14:26
Default
  #7
Senior Member
 
mkraposhin's Avatar
 
Matvey Kraposhin
Join Date: Mar 2009
Location: Moscow, Russian Federation
Posts: 355
Rep Power: 21
mkraposhin is on a distinguished road
Also, i would suggest to try running case with lower inlet/outlet pressure ratio
mkraposhin is offline   Reply With Quote

Old   January 23, 2016, 14:28
Default
  #8
New Member
 
chirag khalde
Join Date: Sep 2011
Posts: 22
Rep Power: 15
chirag is on a distinguished road
Hello Sir!
I will get it done and share it within few hours!
Thanks!
Chirag
chirag is offline   Reply With Quote

Old   January 23, 2016, 14:48
Default
  #9
New Member
 
chirag khalde
Join Date: Sep 2011
Posts: 22
Rep Power: 15
chirag is on a distinguished road
Quote:
Originally Posted by mkraposhin View Post
Hi,

can you add a small converging region at the inlet?
I am trying to validate this paper by by selezneva et. al "Stationary supersonic plasma expansion: continuum fluid mechanics versus direct simulation Monte Carlo method" and I am trying to use same operating conditions (as I did in fluent for verifying the results). I will change the straight region with convergent one at inlet and fire it. I will also reduce the pressure ratio as advised.
Thanks!
http://iopscience.iop.org/article/10.../35/12/312/pdf

Last edited by chirag; January 23, 2016 at 14:49. Reason: added something more
chirag is offline   Reply With Quote

Old   January 26, 2016, 06:32
Default
  #10
Senior Member
 
mkraposhin's Avatar
 
Matvey Kraposhin
Join Date: Mar 2009
Location: Moscow, Russian Federation
Posts: 355
Rep Power: 21
mkraposhin is on a distinguished road
Hi, chirag!
After some steps i was able to reach solution that is very close to fluent, see attached figures for Ma and T distribution along axis.

I done next steps:

1) I changed from upwind to Minmod scheme, i reverted to 3 PISO correctors. I think, that for this case it is possible to use less dissipative schemes, like vanLeer, vanAlbdada, filteredLinear2, etc

2) I switched off momentum predictor at system/fvSolution

3) Also, i changed this case for steady-state simulation (LTS), which is available for OpenFOAM 3.0.0, (see attached) tgz file. For steady-state simulation i used different rDeltaTSmoothingCoeff at different iterations:
0.001 for starting iterstions (0 - 5000)
0.01 for iterations (5001 - 30000)
0.02 for iterations > 30000

4) I changed inlet conditions for k, epsilon, U and p:
it is better to calculate k and epsilon at inlet using empirical formula depending on current velocity:
k:
Code:
    INLET
    {
        type            turbulentIntensityKineticEnergyInlet;
        intensity       0.01;
        value           uniform 0.1544303;
    }
epsilon:
Code:
    INLET
    {
        type            turbulentMixingLengthDissipationRateInlet;
        mixingLength    0.00036;
        value           uniform 67.93;
    }
mixing length is 9% of nozzle diameter

velocity must be calculated from current pressure with uniform profile, that's why i used pressureInletUniformVelocity:
Code:
    INLET
    {
        type            pressureInletUniformVelocity;
        value           uniform (0 0 0);
    }
And, pressure at inlet must be increased with time (or iterations), also it is important to set gamma to 0.9 ( if gamma < 1, it is not used) and psi to 'thermosi' - this will switch B.C. to more stable implementation for compressible flow:
Code:
    INLET
    {
        type            timeVaryingTotalPressure;
	value           uniform 100;
	p0              table
	21
	(
	    (0 100)
	    (10 200)
	    (20 300)
	    (30 400)
	    (50 500)
	    (60 600)
	    (70 700)
	    (80 800)
	    (90 900)
	    (100 1000)
	    (200 2000)
	    (300 2000)
	    (400 3000)
	    (500 3000)
	    (600 5000)
	    (700 5000)
	    (800 7500)
	    (900 7500)
	    (1000 10000)
	    (2000 10000)
	    (3000 10000)
	);
        U               U;
	phi             phi;
	psi		thermo:psi;
	gamma           0.9;
    }
This B.C. is not present in standard OpenFOAM distribution, to use it you have to download our library libcompressibleTools from github: https://github.com/unicfdlab/libcompressibleTools

On the outlet, i imposed special B.C. for presssure, which is also present only in libcompressibleTools - subsonicSupersonicPressureOutlet

Code:
    OUTLET
    {
        type            subsonicSupersonicPressureOutlet;
        value           $internalField;
        p0              $internalField;
        U               U;
        phi             phi;
        psi		thermo:psi;
        gamma           1.67;
        refValue	$internalField;
        refGradient	uniform 0;
        valueFraction	uniform 1;
    }
This B.C. swithes between fixedValue and zeroGradient depending on local Mach number.

As i understand from the article, authors used power law for viscousity and conductivity, for our case this leads to change in enthalpy and velocity diffusion coefficients more than 10 times, and it is also very important. So, i made a simple library, which implements linear approximation to power law properties (see attached file)

Also, authors told that they imposed 12000K and 10000Pa at the outlet of nozzle. It means that if you will set fixedValue for temperature at nozzle wall, you will get a strong heat flux, and you will loose a lot of thermal energy in the nozzle. So, i separated nozzle wall from other walls and used zeroGradient for temperature on nozzle surface.

At last, i made nozzle to be slightly convering, to prevent flow from reaching Ma > 1, see blockMeshDict in attached case

What next steps must be done to get closer to more physical solution:
1) We need to implement temperature-dependent Cp - because now it is constant, but it can vary significantly for such case
2) We need to implement power law for viscosity and thermal conductivity
3) We need to implement limiter for lower boundary of pressure - there is still a small region with p ~ 1 and this can lead to diverging solution. This can be done with fvOptions, but i need add fvOptions to current implementation of pisoCentralFoam
4) Also, i would propose to make outlet of nozzle diverging, this may also help to avoid low pressure region
Attached Images
File Type: jpeg Ma.jpeg (28.7 KB, 51 views)
File Type: jpeg Temp.jpeg (28.5 KB, 45 views)
File Type: jpg press.jpg (45.4 KB, 61 views)
Attached Files
File Type: gz plasmaPsiThermo-3.0.0.tar.gz (1.2 KB, 21 views)
File Type: gz tutorial_tur_zeroGradient.tar.gz (8.6 KB, 22 views)
chirag likes this.

Last edited by mkraposhin; January 26, 2016 at 07:48.
mkraposhin is offline   Reply With Quote

Old   January 26, 2016, 06:33
Default
  #11
Senior Member
 
mkraposhin's Avatar
 
Matvey Kraposhin
Join Date: Mar 2009
Location: Moscow, Russian Federation
Posts: 355
Rep Power: 21
mkraposhin is on a distinguished road
And a temperature field (case didn't converged to steady-state)
Attached Images
File Type: jpg temp.jpg (55.4 KB, 57 views)
mkraposhin is offline   Reply With Quote

Old   January 26, 2016, 10:03
Default
  #12
New Member
 
chirag khalde
Join Date: Sep 2011
Posts: 22
Rep Power: 15
chirag is on a distinguished road
Hello Sir,
Thank you very much for looking into the problem.
There is no gradient of V & T observed in the results u have arrived as expected from experiments /simulation.

The author has inlet b.c as 20000 Pa and 12000K. She studied for outlet flow:
1) P = 100 Pa, 300k
2) P = 20 Pa, 300K


The pressure will sometimes go below 0 Pa and needs bounded as you said ( I had applied that before in Fluent). I had limited its value to 1e-8. The region where you have observed the low pressure is where fluent predicts (please see the attached images). We have good agreement with the experiments and the N-S simulation which she had performed. I had applied varying viscosity and specific heat in fluent for getting good agreement.
I am trying to get the same in openFoam.
Its really very kind of you to look into it.
Thanks,
Attached Images
File Type: jpg p_2d_fluent.jpg (53.0 KB, 39 views)
File Type: jpg p_2d_l_fluent.jpg (35.7 KB, 28 views)
chirag is offline   Reply With Quote

Old   January 26, 2016, 10:56
Default
  #13
New Member
 
chirag khalde
Join Date: Sep 2011
Posts: 22
Rep Power: 15
chirag is on a distinguished road
hi,
I tried to install the new boundary condition library. I observed following error:
"cannot find -lfftw3"
Can you please gupdate the repository with the library file fftw3
Thanks!
chirag is offline   Reply With Quote

Old   January 26, 2016, 10:57
Default
  #14
New Member
 
chirag khalde
Join Date: Sep 2011
Posts: 22
Rep Power: 15
chirag is on a distinguished road
Quote:
Originally Posted by mkraposhin View Post
Hi, chirag!
After some steps i was able to reach solution that is very close to fluent, see attached figures for Ma and T distribution along axis.

I done next steps:

1) I changed from upwind to Minmod scheme, i reverted to 3 PISO correctors. I think, that for this case it is possible to use less dissipative schemes, like vanLeer, vanAlbdada, filteredLinear2, etc

2) I switched off momentum predictor at system/fvSolution

3) Also, i changed this case for steady-state simulation (LTS), which is available for OpenFOAM 3.0.0, (see attached) tgz file. For steady-state simulation i used different rDeltaTSmoothingCoeff at different iterations:
0.001 for starting iterstions (0 - 5000)
0.01 for iterations (5001 - 30000)
0.02 for iterations > 30000

4) I changed inlet conditions for k, epsilon, U and p:
it is better to calculate k and epsilon at inlet using empirical formula depending on current velocity:
k:
Code:
    INLET
    {
        type            turbulentIntensityKineticEnergyInlet;
        intensity       0.01;
        value           uniform 0.1544303;
    }
epsilon:
Code:
    INLET
    {
        type            turbulentMixingLengthDissipationRateInlet;
        mixingLength    0.00036;
        value           uniform 67.93;
    }
mixing length is 9% of nozzle diameter

velocity must be calculated from current pressure with uniform profile, that's why i used pressureInletUniformVelocity:
Code:
    INLET
    {
        type            pressureInletUniformVelocity;
        value           uniform (0 0 0);
    }
And, pressure at inlet must be increased with time (or iterations), also it is important to set gamma to 0.9 ( if gamma < 1, it is not used) and psi to 'thermosi' - this will switch B.C. to more stable implementation for compressible flow:
Code:
    INLET
    {
        type            timeVaryingTotalPressure;
	value           uniform 100;
	p0              table
	21
	(
	    (0 100)
	    (10 200)
	    (20 300)
	    (30 400)
	    (50 500)
	    (60 600)
	    (70 700)
	    (80 800)
	    (90 900)
	    (100 1000)
	    (200 2000)
	    (300 2000)
	    (400 3000)
	    (500 3000)
	    (600 5000)
	    (700 5000)
	    (800 7500)
	    (900 7500)
	    (1000 10000)
	    (2000 10000)
	    (3000 10000)
	);
        U               U;
	phi             phi;
	psi		thermo:psi;
	gamma           0.9;
    }
This B.C. is not present in standard OpenFOAM distribution, to use it you have to download our library libcompressibleTools from github: https://github.com/unicfdlab/libcompressibleTools

On the outlet, i imposed special B.C. for presssure, which is also present only in libcompressibleTools - subsonicSupersonicPressureOutlet

Code:
    OUTLET
    {
        type            subsonicSupersonicPressureOutlet;
        value           $internalField;
        p0              $internalField;
        U               U;
        phi             phi;
        psi		thermo:psi;
        gamma           1.67;
        refValue	$internalField;
        refGradient	uniform 0;
        valueFraction	uniform 1;
    }
This B.C. swithes between fixedValue and zeroGradient depending on local Mach number.

As i understand from the article, authors used power law for viscousity and conductivity, for our case this leads to change in enthalpy and velocity diffusion coefficients more than 10 times, and it is also very important. So, i made a simple library, which implements linear approximation to power law properties (see attached file)

Also, authors told that they imposed 12000K and 10000Pa at the outlet of nozzle. It means that if you will set fixedValue for temperature at nozzle wall, you will get a strong heat flux, and you will loose a lot of thermal energy in the nozzle. So, i separated nozzle wall from other walls and used zeroGradient for temperature on nozzle surface.

At last, i made nozzle to be slightly convering, to prevent flow from reaching Ma > 1, see blockMeshDict in attached case

What next steps must be done to get closer to more physical solution:
1) We need to implement temperature-dependent Cp - because now it is constant, but it can vary significantly for such case
2) We need to implement power law for viscosity and thermal conductivity
3) We need to implement limiter for lower boundary of pressure - there is still a small region with p ~ 1 and this can lead to diverging solution. This can be done with fvOptions, but i need add fvOptions to current implementation of pisoCentralFoam
4) Also, i would propose to make outlet of nozzle diverging, this may also help to avoid low pressure region
hi,
I tried to install the new boundary condition library. I observed following error:
"cannot find -lfftw3"
Can you please gupdate the repository with the library file fftw3
Thanks!
chirag is offline   Reply With Quote

Old   January 26, 2016, 11:49
Default
  #15
Senior Member
 
mkraposhin's Avatar
 
Matvey Kraposhin
Join Date: Mar 2009
Location: Moscow, Russian Federation
Posts: 355
Rep Power: 21
mkraposhin is on a distinguished road
Hi,
You must compile library with script ./makeLib.sh
mkraposhin is offline   Reply With Quote

Old   January 26, 2016, 11:51
Default
  #16
Senior Member
 
mkraposhin's Avatar
 
Matvey Kraposhin
Join Date: Mar 2009
Location: Moscow, Russian Federation
Posts: 355
Rep Power: 21
mkraposhin is on a distinguished road
If you will wait, i'm going to update library with thermophysical properties for your case
chirag likes this.
mkraposhin is offline   Reply With Quote

Old   January 26, 2016, 12:19
Default
  #17
Senior Member
 
mkraposhin's Avatar
 
Matvey Kraposhin
Join Date: Mar 2009
Location: Moscow, Russian Federation
Posts: 355
Rep Power: 21
mkraposhin is on a distinguished road
Can you post here expression for Cp?
mkraposhin is offline   Reply With Quote

Old   January 26, 2016, 13:05
Default properties of argon
  #18
New Member
 
chirag khalde
Join Date: Sep 2011
Posts: 22
Rep Power: 15
chirag is on a distinguished road
Hello Sir,
Please find the properties of argon needed for simulating this flow
Viscosity:
mu = mu0 (T/To)^0.72
where mu0 = 2.125e-5 kg/m.s
To = 273.11 K
specitic heat is function of temperature and linear variation has been calculated using the data provided in Thermal Plasmas Fundamentals and Applications
Volume 1 by Maher I. Boulos et. al

Cp = 6e-17 *T^5 - 4e-13*T^4 - 3e-9*T^3 +3e-5T^2 - 0.0597*T + 551.74
I am also attaching the table in text format if linear input of viscosity is required instead of expression
Thanks!!
Attached Files
File Type: txt specificHeat.txt (416 Bytes, 11 views)
chirag is offline   Reply With Quote

Old   January 26, 2016, 13:54
Default
  #19
Senior Member
 
mkraposhin's Avatar
 
Matvey Kraposhin
Join Date: Mar 2009
Location: Moscow, Russian Federation
Posts: 355
Rep Power: 21
mkraposhin is on a distinguished road
Hi,

I made it. It is interesting, what results you will obtain.

Don't forget to downoald rescent version of pisoCentralFoam and compressibleTools, case for simulation in the attachment

I used polynomial expression for Cp, because it is already done in OpenFOAM. In the future, it will be better to implement tabular properties, because it is much faster.

minimum value for pressure is set at system/fvOptions
Attached Files
File Type: gz tutorial_tur_zeroGradient1.tar.gz (109.9 KB, 27 views)
mkraposhin is offline   Reply With Quote

Old   January 26, 2016, 14:13
Default
  #20
New Member
 
chirag khalde
Join Date: Sep 2011
Posts: 22
Rep Power: 15
chirag is on a distinguished road
Quote:
Originally Posted by mkraposhin View Post
Hi,

I made it. It is interesting, what results you will obtain.

Don't forget to downoald rescent version of pisoCentralFoam and compressibleTools, case for simulation in the attachment

I used polynomial expression for Cp, because it is already done in OpenFOAM. In the future, it will be better to implement tabular properties, because it is much faster.

minimum value for pressure is set at system/fvOptions
Hello Sir,
Thank you very much!
I will install 3.0.0 as I was using 2.3.1. I will share the results soon!
Regards,
Chirag
chirag is offline   Reply With Quote

Reply

Tags
pisocentralfoam, rhocentralfoam, shock wave, validation


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 velocity & temp at initialization Leo FLUENT 1 October 15, 2007 11:42
Pressure jump on supersonic velocity inlet Viktor FLUENT 0 August 9, 2007 01:23
Variables Definition in CFX Solver 5.6 R P CFX 2 October 26, 2004 03:13
Porous jump and velocity Christian FLUENT 6 May 21, 2003 14:24
Terrible Mistake In Fluid Dynamics History Abhi Main CFD Forum 12 July 8, 2002 10:11


All times are GMT -4. The time now is 18:36.