CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

Define the values of a boundary from another boundary

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 4, 2015, 04:47
Default Define the values of a boundary from another boundary
  #1
New Member
 
Carlos
Join Date: Dec 2011
Posts: 14
Rep Power: 15
chmurillor is on a distinguished road
Hi everybody!

I am analyzing the mass transfer of a dilute component between a solid body and a fluid body. For this purpose, I have defineda User Defined Scalar to represent the concentration of this solute. In the interphase located between the two phases, the concentration of the substance is established by the Henry's law.

I would like like to know if it is possible to define the values of a variable of a face of the fluid domain from a shadow face associated to a solid body by using a UDF.

I have tried to make it by using a DEFINE_PROFILE function and a loop that analyzes all the cells of the thread. However, I couldn't have transferred the values because the UDF must compare the position coordinates of the two faces and then copy the values if they are the same.

I would really appreciate if one the users of this forum could help me to solve this problem.

Thanks in advance for your help
chmurillor is offline   Reply With Quote

Reply

Tags
user defined function, user defined scalar


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
An odd ERROR mdakbari Fluent UDF and Scheme Programming 7 April 4, 2016 05:30
several fields modified by single boundary condition schröder OpenFOAM Programming & Development 3 April 21, 2015 06:09
Low Mixing time Problem Mavier CFX 5 April 29, 2013 01:00
[Gmsh] Import problem ARC OpenFOAM Meshing & Mesh Conversion 0 February 27, 2010 11:56
Convective Heat Transfer - Heat Exchanger Mark CFX 6 November 15, 2004 16:55


All times are GMT -4. The time now is 11:49.