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

Solution is NOT APPROPRIATE WHEN COMPARED TO CFX

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By betakv
  • 1 Post By kmooney

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 18, 2014, 00:54
Default Solution is NOT APPROPRIATE WHEN COMPARED TO CFX
  #1
Member
 
adarsh tiwari's Avatar
 
adarsh tiwari
Join Date: Feb 2014
Location: Bangalore
Posts: 42
Blog Entries: 5
Rep Power: 12
adarsh tiwari is on a distinguished road
Hi all,

I am trying to do some simulations in turbulent modelling using OpenFOAM and also comparing the results with CFX.

the velocity in the OF's results is nearly zero due to no pressure drop, while in CFX, i am satisfied with the velocity range of 65 m/s with some pressure drop.

The solvers I have used for trial are

1) rhoLTSPimpleFoam
2) rhoSimpleFoam
3) simpleFoam

[the 'P' file] [/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.2.2 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object p;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [1 -1 -2 0 0 0 0];

internalField uniform 0.956e5;

boundaryField
{
HOUSING
{
type zeroGradient;
}
VALVE
{
type zeroGradient;
}

INLET
{
type zeroGradient;
}
OUTLET
{
type fixedValue;
value $internalField;
}
}
]


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

dimensions [0 0 0 1 0 0 0];

internalField uniform 487.94;

boundaryField
{

HOUSING
{
type fixedValue;
value uniform 298;
}
VALVE
{
type fixedValue;
value uniform 298;
}
INLET
{
type fixedValue;
value uniform 487.94;
}
OUTLET
{
type zeroGradient; //inletOutlet;
// value $internalField;
// inletValue $internalField;
}
}]

[the U file] [/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.2.2 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volVectorField;
object U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [0 1 -1 0 0 0 0];

internalField uniform (0 0 0);

boundaryField
{
HOUSING
{
type fixedValue;
value uniform (0 0 0);
}
VALVE
{
type fixedValue;
value uniform (0 0 0);
}
INLET
{
type pressureInletVelocity; //flowRateInletVelocity;
// massFlowRate constant 0.00085;
value uniform (0 0 0);
}
OUTLET
{
type flowRateInletVelocity; //inletOutlet; //fluxCorrectedVelocity;
massFlowRate constant 0.00085;
value uniform (0 0 0);
//inletValue uniform (0 0 0);
}
}

// ************************************************** *********************** //]

Except some flow pattern variations all the results are nearly same for all the solvers.

I have to solve it ASAP, else my instructor will kick my a$$

Thanks in Advance,
ragards,
Adarsh Tiwari
adarsh tiwari is offline   Reply With Quote

Old   April 2, 2014, 03:29
Default
  #2
Member
 
adarsh tiwari's Avatar
 
adarsh tiwari
Join Date: Feb 2014
Location: Bangalore
Posts: 42
Blog Entries: 5
Rep Power: 12
adarsh tiwari is on a distinguished road
nothing at all ....????
adarsh tiwari is offline   Reply With Quote

Old   April 2, 2014, 04:59
Default
  #3
Member
 
Vojtech Betak
Join Date: Mar 2009
Location: Czech republic
Posts: 34
Rep Power: 18
betakv is on a distinguished road
You have mess in boundary conditions. For velocity you have to prescribe mass flow on inlet and zeroGradient/inletOutlet on outlet. For temperature is better to use adiabatic wall zeroGradient on the wall
adarsh tiwari likes this.
betakv is offline   Reply With Quote

Old   April 2, 2014, 15:45
Default
  #4
Senior Member
 
kmooney's Avatar
 
Kyle Mooney
Join Date: Jul 2009
Location: San Francisco, CA USA
Posts: 323
Rep Power: 18
kmooney is on a distinguished road
http://www.cfd-online.com/Forums/ope...-get-help.html
adarsh tiwari likes this.
kmooney is offline   Reply With Quote

Old   April 10, 2014, 03:25
Smile
  #5
Member
 
adarsh tiwari's Avatar
 
adarsh tiwari
Join Date: Feb 2014
Location: Bangalore
Posts: 42
Blog Entries: 5
Rep Power: 12
adarsh tiwari is on a distinguished road
Thanks betakv and kmooney,

It solved the issue.

Best Regards,
Adarsh Tiwari
adarsh tiwari 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
Pros and Cons for CFX, CFdesign, COMSOL Val Main CFD Forum 3 June 10, 2011 03:20
CFX or Fluent for Turbo machinery ? Far FLUENT 3 May 27, 2011 04:02
how to make a CFX solution NITIN DEWANGAN CFX 2 August 8, 2008 09:06
Importing solutions in CFX. Alphonso CFX 1 August 1, 2008 15:01
CFX 4.4 installation problem Pandu Sattvika CFX 1 December 1, 2001 05:07


All times are GMT -4. The time now is 23:33.