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

Solving simultaneous PDE's in OpenFOAM

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 26, 2014, 10:25
Default Solving simultaneous PDE's in OpenFOAM
  #1
Member
 
Manjunath Reddy
Join Date: Jun 2013
Posts: 47
Rep Power: 13
manju819 is on a distinguished road
Hiiiii,
I'm working on Simulation of two phase immscible flow through porous media. I've oil-water equations to be solved.

Oil equation:
- fvm::ddt(por,sw)
+ fvm::Sp(J*n*M_o,p)
- fvm::laplacian(phik*phiM_o,p)

==
- fvc::laplacian(phiM_o*phik*rho_o,gh)
+ fvc::Sp(J*n*M_o,pbh)

Similarly i've equation for water.

I want to solve two equations simultaneously. how to solve equations simultaneously by using "solve" . Can any one help how to proceed.

Thanks & Regards
N.Manjunath

Last edited by manju819; February 26, 2014 at 13:19.
manju819 is offline   Reply With Quote

Old   April 12, 2020, 17:43
Default
  #2
New Member
 
Russian Federation
Join Date: Apr 2020
Posts: 18
Rep Power: 6
fetc95 is on a distinguished road
Quote:
Originally Posted by manju819 View Post
Hiiiii,
I'm working on Simulation of two phase immscible flow through porous media. I've oil-water equations to be solved.

Oil equation:
- fvm::ddt(por,sw)
+ fvm::Sp(J*n*M_o,p)
- fvm::laplacian(phik*phiM_o,p)

==
- fvc::laplacian(phiM_o*phik*rho_o,gh)
+ fvc::Sp(J*n*M_o,pbh)

Similarly i've equation for water.

I want to solve two equations simultaneously. how to solve equations simultaneously by using "solve" . Can any one help how to proceed.

Thanks & Regards
N.Manjunath
Hello,

Did you solve this problem? I deal with the same one.
fetc95 is offline   Reply With Quote

Old   April 16, 2020, 06:02
Default
  #3
Senior Member
 
Michael Alletto
Join Date: Jun 2018
Location: Bremen
Posts: 616
Rep Power: 16
mAlletto will become famous soon enough
as far as I know, there only possibility to solve two equations at the time, is to use the block coupled solver in foam-extend. The .com and .org versions use solvers for scalars. Even the velocity is solve sequentially.



https://foam-extend.fsb.hr/wp-conten..._20Sep2018.pdf
mAlletto is offline   Reply With Quote

Reply

Tags
fvmatrix, solvecoupled

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
High Courant Number @ icoFoam Artex85 OpenFOAM Running, Solving & CFD 11 February 16, 2017 13:40
rhoSimplecFoam Mach0.8 no pressure values CFDnewbie147 OpenFOAM Running, Solving & CFD 16 November 23, 2013 05:58
Low Mach number Compressible jet flow using LES ankgupta8um OpenFOAM Running, Solving & CFD 7 January 15, 2011 13:38
Convergence moving mesh lr103476 OpenFOAM Running, Solving & CFD 30 November 19, 2007 14:09
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 02:58


All times are GMT -4. The time now is 07:36.