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

RichardsFoam2 + heat transport

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 26, 2017, 14:05
Default RichardsFoam2 + heat transport
  #1
New Member
 
Join Date: Oct 2016
Posts: 20
Rep Power: 9
JoeFriend is on a distinguished road
This last month I have tried to extend RichardsFoam2 functionality by adding the heat transport, but with no success.



I have added the convective-diffusive equation in the solver as it follows


Code:
 fvm::ddt(rhoCpe,T) == fvm::laplacian(Ke,T) - rhoCpf*fvm::div(phi,T)
where rhoCpe is the effective volumetric heat capacity (solid + gas + water), Ke is the effective thermal conductivity and rhoCpf is the effective volumetric heat capacity of the fluid phases (gas + water).


For some reason the convective term is making my test cases lose a lot of energy, which makes no sense to me when I try to validate them.


I have attached a file with the solver's main code. I would appreciate if anyone could help me
Attached Files
File Type: c HeatRichardsFoam.C (10.2 KB, 6 views)
JoeFriend is offline   Reply With Quote

Reply


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
Error - Solar absorber - Solar Thermal Radiation MichaelK CFX 12 September 1, 2016 05:15
Compression stoke is giving higher pressure than calculated nickjuana CFX 62 May 19, 2015 13:32
UDF for Heat Exchanger model francois louw FLUENT 2 July 16, 2010 02:21
Concentric tube heat exchanger (Air-Water) Young CFX 5 October 6, 2008 23:17
Convective Heat Transfer - Heat Exchanger Mark CFX 6 November 15, 2004 15:55


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