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

EEqn to TEqn

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 30, 2015, 04:30
Default EEqn to TEqn
  #1
New Member
 
JISHNU H
Join Date: Nov 2014
Location: Kerala, India
Posts: 20
Rep Power: 4
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, 11:06
Default
  #2
Senior Member
 
Dongyue Li
Join Date: Jun 2012
Location: Torino, Italy
Posts: 743
Rep Power: 9
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,
__________________
Im the translator of OpenFOAM User Guide Chinese Edition! But always newbie on CFD.

http://dyfluid.com/en.html
sharonyue 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
melting problem: looking for appropriate solvers som OpenFOAM Running, Solving & CFD 235 November 23, 2016 11:05
Missing gravity in new Teqn in compressibleInterFoam, OpenFOAM v2.2.0 dduque OpenFOAM Running, Solving & CFD 5 June 20, 2015 23:37
EEqn in buoyantPimpleFoam Foam P1361 OpenFOAM Running, Solving & CFD 0 July 15, 2014 07:37
Replace H equation with Teqn in chtMultiregionFoam OF 2.3 Moncef OpenFOAM Running, Solving & CFD 0 May 22, 2014 20:37


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