CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Programming & Development

rhoCentralFoam structure and algorithm

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

Like Tree1Likes
  • 1 Post By ngj

Reply
 
LinkBack Thread Tools Display Modes
Old   May 17, 2013, 09:24
Default rhoCentralFoam structure and algorithm
  #1
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,186
Rep Power: 16
immortality is on a distinguished road
Hi everyone!
I wondering if whats the algorithm that rhoCentralFoam uses as a procedure?
the code in other solvers are more clear but rhoCentralFoam has a lot of reconstruction and interpolation that I don't understand the meaning of them to grasp its algorithm.
can anyone help me through finding its algorithm?
or guide to maybe a link of page?
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Old   May 17, 2013, 09:36
Default
  #2
Member
 
Join Date: Nov 2012
Posts: 58
Rep Power: 4
startingWithCFD is on a distinguished road
Google is your friend.

http://www.cscamm.umd.edu/centpack/p...9-centpack.pdf
startingWithCFD is offline   Reply With Quote

Old   May 17, 2013, 10:53
Default
  #3
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,186
Rep Power: 16
immortality is on a distinguished road
thank you.could you help me on how understand the procedures in a simple way so that i can show that stages in a "flow chart"( like rhoPimpleFoam by its loops that are clear for understanding and showing in flow charts)?
thanks.
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Old   May 17, 2013, 19:34
Default
  #4
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Rotterdam, The Netherlands
Posts: 1,594
Rep Power: 24
ngj will become famous soon enoughngj will become famous soon enough
Hi Ehsan,

I believe you are interested in the pseudo-code presented on page 14 in the paper, which you find by following the link.

Kind regards

Niels
ngj is offline   Reply With Quote

Old   May 18, 2013, 08:00
Default
  #5
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,186
Rep Power: 16
immortality is on a distinguished road
Hi Niels
so is this summary algorithm based on the table true to create a flow chart?
time loop
1)predictor step for variables (lines 3,4,5,6 of the table)
2)solving continuity (line 7)
3)predictor step for momentum equation (lines 8 and 9)
4)solving momentum equation (line 10)
5)predictor step for Energy equation (lines 11,12 )
6)solving enery equation (line 13)
7)evaluating p (line 14)
increasing time and continue

is this list true and complete?
so there is not any other loop in the algorithm like PIMPLE loop and PISO,correct?
please let me know any thought to modify it better or if you verify my conclusion.
thanks.
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.

Last edited by immortality; May 18, 2013 at 11:33.
immortality is offline   Reply With Quote

Old   May 18, 2013, 11:20
Default
  #6
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Rotterdam, The Netherlands
Posts: 1,594
Rep Power: 24
ngj will become famous soon enoughngj will become famous soon enough
Hi Ehsan,

I merely took a quick look at the article, and found the mentioned table. Since it is a peer-reviewed journal article, I suppose it is correct at the point, where the article was written.

It will be up to you to understand the procedure and to verify that the method has not changed during the last 4 years, i.e. compare the source code with the journal article and identify potential discrepancies. If there are no discrepancies, then you have a nice reference for your work; otherwise you need to understand, why the code has been changed.

Kind regards

Niels
immortality likes this.
ngj 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
Algorithm complexity sumit_raised ANSYS 1 August 13, 2012 04:49
Divergence with a flexible structure in a FSI case Zymon CFX 14 January 26, 2012 09:33
Fluid Structure Interaction (FSI) yogesh114 OpenFOAM 2 August 24, 2011 04:12
PHI file structure Eugene Phoenics 9 November 2, 2001 23:00
Meshing data structure Weiqing Yee Main CFD Forum 3 February 21, 2001 14:48


All times are GMT -4. The time now is 01:08.