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

Adding Energy Equation for porousSimpleFoam

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 31, 2014, 20:04
Default Adding Energy Equation for porousSimpleFoam
  #1
New Member
 
Yesaswi
Join Date: Jan 2014
Posts: 24
Rep Power: 3
yesaswi92 is on a distinguished road
Hi,

I am new to openFOAM. I am trying to add energy equation for simplePorousFoam. I initially attempted the same for simpleFoam solver by
  • adding TEqn.H,
  • including this header file in <solver>.C,
  • editing createFields.H
  • making necessary changes in the make folder
.

This ran successfully.

I repeated the same for porousSimpleFoam. Practically, this doesn't work as the energy equations are different for different domains (porous and non porous). OpenFOAM deals with this my making modifications in the equation based on the inout porosity parameters. It used member functions like
  • addResistance()
.

Could anyone help me to implement the similar approach for energy equation too??
yesaswi92 is offline   Reply With Quote

Old   April 3, 2014, 13:34
Default porousSimpleFoam
  #2
New Member
 
Yesaswi
Join Date: Jan 2014
Posts: 24
Rep Power: 3
yesaswi92 is on a distinguished road
Hi all,

Can someone explain me how the porous simple foam works? All I know is it modifies the original momentum equation just for the porous zone

I want to add a temperature equation in the same way. It should have basic energy equation for fluid zone and porous temperature equation for porous zone.

So, can someone help me out with this?

Thank You,
Yesaswi
yesaswi92 is offline   Reply With Quote

Reply

Tags
poroussimplefoam

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
help adding the energy equation to porousinterfoam using the enthalpy formulation nadine OpenFOAM Programming & Development 18 June 17, 2014 08:39
error message cuteapathy CFX 14 March 20, 2012 07:45
SIMPLE and energy equation convergence Fabio Main CFD Forum 0 June 1, 2007 06:06
How to discretize of energy equation ?? Asghari FLUENT 0 October 12, 2006 08:09
energy equation formulation Pedro Phoenics 1 July 5, 2001 12:17


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