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

simpleFoam for WATER

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 5, 2014, 11:49
Question simpleFoam for WATER
  #1
vut
Member
 
Join Date: Feb 2014
Posts: 56
Rep Power: 3
vut is on a distinguished road
Hi,

I want to simulate a water flow inside an injector by simpleFoam.

I change nu => 1e-6 in constant/transportProperties.

But the run failed!

Do you have any explaination?

Thanks

T
vut is offline   Reply With Quote

Old   March 6, 2014, 05:54
Default
  #2
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,109
Rep Power: 19
alexeym will become famous soon enoughalexeym will become famous soon enough
Hi,

How to give enough info to get help

Can you provide more details?
alexeym is offline   Reply With Quote

Old   March 6, 2014, 12:54
Exclamation simpleFoam - pressure driven water flow inside injector
  #3
vut
Member
 
Join Date: Feb 2014
Posts: 56
Rep Power: 3
vut is on a distinguished road
Hi,

Here are the details I changed: BC and transportProperties in constant/

1/ The first thing is the BC:

for p
==================================

internalField uniform 0;

boundaryField
{
Inlet
{
type fixedValue;
value uniform 100;
// = P_inlet/rho_water = 100 000 Pa / 1000 kg/m3, is it right?
// or should I give 100 000 Pa instead?
}

Outlet
{
type fixedValue;
value uniform 0;
}

Symmetry
{
type symmetryPlane;
}

Wall
{
type zeroGradient;
}
}



for U
==================================

internalField uniform (0 0 0);

boundaryField
{
Inlet
{
type pressureInletVelocity;
value uniform (0 0 0);
}

Outlet
{
type zeroGradient;
}

Symmetry
{
type symmetryPlane;
}

Wall
{
type fixedValue;
value uniform (0 0 0);
}
}

2/ The second one is transportProperties

transportModel Newtonian;

nu nu [ 0 2 -1 0 0 0 0 ] 1e-06;

// for the kinematic viscosity of water, right?



I really appreaciate your advices.

T




Quote:
Originally Posted by alexeym View Post
Hi,

How to give enough info to get help

Can you provide more details?
vut is offline   Reply With Quote

Old   March 6, 2014, 13:07
Default
  #4
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,109
Rep Power: 19
alexeym will become famous soon enoughalexeym will become famous soon enough
If you take a look at the units of pressure, they are m^2*s^-2, i.e. pressure/density, so you are right about value.

Several things you forgot to mention:
0. Can you show the output of "But the run failed!"?
1. Are you sure that your mesh is OK?
2. What's in your fvSolution?
3. What's in your fvSchemes?
4. What's in your controlDict?

In general "But the run failed!" can mean anything.
alexeym is offline   Reply With Quote

Old   March 7, 2014, 04:46
Smile
  #5
vut
Member
 
Join Date: Feb 2014
Posts: 56
Rep Power: 3
vut is on a distinguished road
Alexey,

The error I made was stupid: The value of epsilon in the initial conditions is wrong. That's why the simulation ran for several iterations and then stopped due to big discrepancies between time steps.

I really appreciate your attention and your time on my question.

Hope this very "stupid experience" useful for new OpenFoamer like me!

Have a nice day!

T


Quote:
Originally Posted by alexeym View Post
If you take a look at the units of pressure, they are m^2*s^-2, i.e. pressure/density, so you are right about value.

Several things you forgot to mention:
0. Can you show the output of "But the run failed!"?
1. Are you sure that your mesh is OK?
2. What's in your fvSolution?
3. What's in your fvSchemes?
4. What's in your controlDict?

In general "But the run failed!" can mean anything.
vut is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
simpleFoam parallel AndrewMortimer OpenFOAM Running, Solving & CFD 10 November 12, 2013 18:03
Laminar simpleFoam and inviscid simpleFoam herenger OpenFOAM Running, Solving & CFD 7 July 11, 2013 06:27
interFoam vs. simpleFoam channel flow comparison DanM OpenFOAM Running, Solving & CFD 11 January 5, 2013 07:21
Trying to run a benchmark case with simpleFoam spsb OpenFOAM 3 February 24, 2012 10:07
Naca0012 k-e mpirun gives fpe whereas simpleFoam not Pierpaolo OpenFOAM 1 May 8, 2010 03:08


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