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

Energy dissipation extension to icoFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 25, 2020, 18:31
Default Energy dissipation extension to icoFoam
  #1
New Member
 
Samridh Sharma
Join Date: Jun 2020
Posts: 3
Rep Power: 6
S.Samridh is on a distinguished road
Hello,

I have been trying to add div(sigmaDotU), energy term, which defines mechanical energy dissipation in fluid. Checking various threads, i haven't found any energy solver being used for icoFoam solver.
The rhoCentralFoam has this equation being solved, but has many functions in tow, to complete energy equation there.

I need help to add this(code below) specifically to icoFoam, and I am not sure about the header files that should be included or the proper framing of this code, any reference example would be a great help (I know how to add Temperature solver in icoFoam, but as energy dissipation term wouldn't need initial conditions, i am confused if it's added in createfields.H)

From rhoCentralFoam
Quote:
// --- Solve energy
202 surfaceScalarField sigmaDotU
203 (
204 "sigmaDotU",
205 (
206 fvc::interpolate(muEff)*mesh.magSf()*fvc::snGrad(U )
207 + fvc::dotInterpolate(mesh.Sf(), tauMC)
208 )
209 & (a_pos*U_pos + a_neg*U_neg)
210 );
211
212 solve
213 (
214 fvm::ddt(rhoE)
215 + fvc::div(phiEp)
216 - fvc::div(sigmaDotU)
217 );
Out of above written code, I need to solve div(sigmaDotU) in icoFoam.

Thank you,
Samridh
S.Samridh is offline   Reply With Quote

Reply

Tags
energy dissipation, icofoam problem, solver development, solver linking


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
How can I use wallHeatFlux with modified icoFoam that has energy equation sajad6 OpenFOAM Post-Processing 10 November 1, 2014 03:42
Problem with paraFoam ata OpenFOAM 14 November 30, 2009 05:23
[OpenFOAM] Xwindows crash with paraview save srinath ParaView 1 October 15, 2008 10:37
The effect of acoustics energy dissipation on flui David Main CFD Forum 7 August 30, 2006 16:39
Why FVM for high-Re flows? Zhong Lei Main CFD Forum 23 May 14, 1999 14:22


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