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

EEqn to TEqn

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 30, 2015, 05:30
Default EEqn to TEqn
  #1
New Member
 
JISHNU H
Join Date: Nov 2014
Location: Kerala, India
Posts: 20
Rep Power: 11
jishnuhari25 is on a distinguished road
Hi all,
Does any one here know how to convert EEqn to Teqn. I have the following EEqn. Please tell me a way to convert it into TEqn.

/********************************EEqn.H************ *****************************/
fvScalarMatrix EEqn
(

fvm::ddt(H2) + fvm::div(phi2, H2)

+ fvm::laplacian(K2/(rho2*Cp2), H2)

==

DpDt/rho2
// + (mcond*Cp2*Tsat)/alpha2*rho2
+ fvm::Sp(mEvap/(alpha2*rho2),H2)
+ Qw/(rho2*alpha2*z*0.5)

);


EEqn.relax();
EEqn.solve();
******************************/**************************************************
jishnuhari25 is offline   Reply With Quote

Old   June 4, 2015, 12:06
Default
  #2
Senior Member
 
Dongyue Li
Join Date: Jun 2012
Location: Beijing, China
Posts: 838
Rep Power: 17
sharonyue is on a distinguished road
Hello JISHNU

Look at the buoyantPimpleFoam and buoyantBoussinesqPimpleFoam, the spirit with this two solves are how to do EEqn to TEqn. U can use their idea to make your own solver.

Best,
__________________
My OpenFOAM algorithm website: http://dyfluid.com
By far the largest Chinese CFD-based forum: http://www.cfd-china.com/category/6/openfoam
We provide lots of clusters to Chinese customers, and we are considering to do business overseas: http://dyfluid.com/DMCmodel.html
sharonyue is offline   Reply With Quote

Reply

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
melting problem: looking for appropriate solvers som OpenFOAM Running, Solving & CFD 328 July 20, 2022 09:47
Missing gravity in new Teqn in compressibleInterFoam, OpenFOAM v2.2.0 dduque OpenFOAM Running, Solving & CFD 5 June 21, 2015 00:37
EEqn in buoyantPimpleFoam Foam P1361 OpenFOAM Running, Solving & CFD 0 July 15, 2014 08:37
Replace H equation with Teqn in chtMultiregionFoam OF 2.3 Moncef OpenFOAM Running, Solving & CFD 0 May 22, 2014 21:37


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