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

How can I get stedaystate solution from pisoFoam?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 8, 2015, 05:31
Default How can I get stedaystate solution from pisoFoam?
  #1
Member
 
Jun
Join Date: Nov 2015
Posts: 57
Rep Power: 11
mykkujinu2201 is on a distinguished road
Hi, everyone.

I have a question about pisoFoam.

I know for steadystate, simpleFoam is adequate but what if I wanna find steady state solution using pisoFoam?

Currently, I'm working on MHD solver. I found some code on the internet but it is based on PISO Foam.

I set steadyState at fvScheme but it only made errors.

Few steps and stopped.

So, I though it is maybe because of PISO algorithms. So, I checked pisoFoam at Steady state and it showed same error.

How can I get stedaystate solution from pisoFoam?
mykkujinu2201 is offline   Reply With Quote

Old   December 8, 2015, 08:37
Default
  #2
Member
 
Ferdinand Pfender
Join Date: May 2013
Location: Berlin, Germany
Posts: 40
Rep Power: 13
FerdiFuchs is on a distinguished road
pisoFoam is not able to give you a steady state solution.
only if your problem itself is a steady state problem, then it should be possible.

What you maybe lookin for is averaging a value over the whole domain (fieldAverage) via functionObjects-Library.
But beware, unsteady simulation and averaging is much˛ more time consuming then using a steady-state solver!

This is how it should look like in your controlDict for mean and prime2mean of U and p
Quote:
functions
{
fieldAverage1
{
type fieldAverage;
functionObjectLibs ( "libfieldFunctionObjects.so" );
enabled true;
outputControl outputTime;

fields
(
U
{
mean on;
prime2Mean on;
base time;
}

p
{
mean on;
prime2Mean on;
base time;
}
);
}
}
FerdiFuchs 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
grid dependancy gueynard a. Main CFD Forum 19 June 27, 2014 22:22
Analytic solution for 2D steady Euler equations jojo81 Main CFD Forum 0 October 15, 2012 13:05
Solution divergence in pisoFoam (Co <1) enoch OpenFOAM Running, Solving & CFD 0 May 16, 2012 22:35
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 03:58
Wall functions Abhijit Tilak Main CFD Forum 6 February 5, 1999 02:16


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