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

simpleFoam for WATER

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 5, 2014, 10:49
Question simpleFoam for WATER
  #1
vut
Member
 
Join Date: Feb 2014
Posts: 57
Rep Power: 12
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, 04:54
Default
  #2
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,930
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
Hi,

http://www.cfd-online.com/Forums/ope...-get-help.html

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

Old   March 6, 2014, 11:54
Exclamation simpleFoam - pressure driven water flow inside injector
  #3
vut
Member
 
Join Date: Feb 2014
Posts: 57
Rep Power: 12
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
vut is offline   Reply With Quote

Old   March 6, 2014, 12:07
Default
  #4
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,930
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
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, 03:46
Smile
  #5
vut
Member
 
Join Date: Feb 2014
Posts: 57
Rep Power: 12
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


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
interFoam vs. simpleFoam channel flow comparison DanM OpenFOAM Running, Solving & CFD 12 January 31, 2020 15:26
simpleFoam parallel AndrewMortimer OpenFOAM Running, Solving & CFD 12 August 7, 2015 18:45
Laminar simpleFoam and inviscid simpleFoam herenger OpenFOAM Running, Solving & CFD 7 July 11, 2013 06:27
Trying to run a benchmark case with simpleFoam spsb OpenFOAM 3 February 24, 2012 09: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 17:44.