|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
NieYongguang
Join Date: Sep 2010
Posts: 27
Rep Power: 15 ![]() |
Hello everyone! I have a question! I want to add energy equation to inter Foam. I write energy equation below
fvm::ddt(rho, T) +fvm::div(rhophi*cp,T) -fvm::laplacian(Keff,T) ==-fvc::grad(p) is it correct? |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 29 ![]() |
To me the grad(p) looks odd, are you sure about that? Also you don't need to keep Cp on it's own, just update a field rhoPhiCp the same way as you update rhoPhi. For more information have a look at this thread:
http://www.cfd-online.com/Forums/ope...interfoam.html |
|
![]() |
![]() |
![]() |
![]() |
#3 | |
New Member
NieYongguang
Join Date: Sep 2010
Posts: 27
Rep Power: 15 ![]() |
Quote:
( fvm::ddt(rhoCp, T) + fvm::div(rhoPhiCpf, T) - fvm::laplacian(kappaf, T) ); |
||
![]() |
![]() |
![]() |
![]() |
#4 |
New Member
Join Date: Nov 2010
Posts: 10
Rep Power: 14 ![]() |
hi dears
i have a case that i want to solve energy equation to interfoam. is there anyone who can help me(is there ready code). thanks in advance |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Adding temperature field to InterFoam | yapalparvi | OpenFOAM Running, Solving & CFD | 8 | October 14, 2009 20:18 |
continuity equation | Rafal | Main CFD Forum | 4 | November 29, 2006 09:27 |
use kiva to solve another temperature equation | zhzhguo | Main CFD Forum | 0 | June 6, 2006 20:59 |
How to add a source term in u or v equation? | luckyluke | Phoenics | 3 | December 13, 2004 02:52 |
How to add a fixed force on momentum equation | sun | Phoenics | 3 | January 19, 2002 06:31 |