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

Problem while implementing a custom boundary field

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 23, 2021, 11:11
Default Problem while implementing a custom boundary field
  #1
New Member
 
Bowler
Join Date: Apr 2021
Posts: 1
Rep Power: 0
Toofan is on a distinguished road
Hi,
I am trying to simulate Heat and Mass transfer during direct evaporative cooling of moist air flowing through wet parallel plates.
For that purpose I had to write a custom boundary condition on the temperature gradient at wall as follows:
del(T)/del(y) = D*(h/k)*{del(K)/del(y)}

where,
D: diffusion coefficient of water vapor
h: latent heat of vapor
k: thermal conductivity of air

The attached are files for boundary condition.

I compiled the the code and there weren't any errors.
However when I use it, the is this error: Unknown patch type......

I have included the libs ("libTempDiffGradient.so") in controlDict file but still not able execute the boundary condition.

Wanted some help in debugging the boundary condition further
Attached Files
File Type: c TempDiffGradientFvPatchField.C (3.9 KB, 2 views)
File Type: h TempDiffGradientFvPatchField.H (5.2 KB, 1 views)
Toofan 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
Wind turbine simulation Saturn CFX 58 July 3, 2020 01:13
Centrifugal fan-reverse flow in outlet lesds to a mass in flow field xiexing CFX 3 March 29, 2017 10:00
Basic Nozzle-Expander Design karmavatar CFX 20 March 20, 2016 08:44
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20
Problem in sampling data of custom field function in ANSYS FLUENT v14 apek_great ANSYS 1 February 26, 2014 05:10


All times are GMT -4. The time now is 21:27.