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

potentialFoam solver

Register Blogs Community New Posts Updated Threads Search

Like Tree6Likes
  • 5 Post By dshawul
  • 1 Post By Antony_Bosco

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 22, 2012, 09:44
Default potentialFoam solver
  #1
New Member
 
Join Date: Jun 2009
Posts: 27
Rep Power: 16
dshawul is on a distinguished road
Hello,
I am confused about the basic potential foam equation in OF
Code:
fvm::laplacian
            (
                dimensionedScalar
                (
                    "1",
                    dimTime/p.dimensions()*dimensionSet(0, 2, -2, 0, 0),
                    1
                ),
                p
            )
		==
            fvc::div(phi)
a) why is (1/ap) set to 1 unlike in other solvers such as simplefoam, pisofoam etc . I gather from Hrvoje's thesis (1/ap) should be used due to rhie-chow interpolation. Isn't the rhie-chow interpolation not used here?

b) Is p really pressure or velocity potential ? If it is velocity potential , then it would not require the rhs (i.e laplace(psi) = 0). Are we trying to solve stead-state euler equations Or the laplace equation for the velocity potential ?

I am really confused about this. please reply.
thanks
dshawul is offline   Reply With Quote

Old   January 27, 2012, 22:14
Default
  #2
New Member
 
Join Date: Jun 2009
Posts: 27
Rep Power: 16
dshawul is on a distinguished road
I have finally understood the algorithm after weeks of searching! But this board is the most unhelpful discussion board I have ever come across by far.
Just in case some one has similar difficulties understanding the algorithm , I don't want you to go through same diffculty so here it is.

* It is first of all solving the laplace equation laplace(psi) = 0
* There is a "hack" in createFields.H that zeros both p and U in the internal field so that only the U at the boundary will be used as a source term for the above equation.

The odd placement of that code in createFields.H was the main problem for me. Here is a link to the document that explained to me how the solver works. Thanks to the writer.
dshawul is offline   Reply With Quote

Old   November 23, 2015, 10:36
Default
  #3
New Member
 
Antony Premkumar
Join Date: Jul 2015
Posts: 18
Rep Power: 10
Antony_Bosco is on a distinguished road
Hello everyone ,

Please let me know how to calculate the total pressure field (= static p + dynamic p) in case of potentialFoam.
i used potentialFoam -writep.

i have a doubt if p is actually p or something else.

Thanks in Advance,
antony
ykanani likes this.
Antony_Bosco 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
A New Solver for Supersonic Combustion nakul OpenFOAM Announcements from Other Sources 19 February 27, 2024 09:44
[Other] A New Solver for Supersonic Combustion nakul OpenFOAM Community Contributions 20 February 22, 2019 09:08
thobois class engineTopoChangerMesh error Peter_600 OpenFOAM 4 August 2, 2014 09:52
Development of a Low mach PISO solver nishant_hull OpenFOAM Programming & Development 0 August 25, 2009 12:48
why the solver reject it? Anyone with experience? bearcat CFX 6 April 28, 2008 14:08


All times are GMT -4. The time now is 19:30.