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

moisture over a surface

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 20, 2020, 06:53
Default moisture over a surface
  #1
New Member
 
Abbas Raza
Join Date: Nov 2020
Posts: 27
Rep Power: 6
Abbas20000220 is on a distinguished road
Hey I want to introduce moisture over a surface. I have been writing a UDF for this.
Two fluids One is air & other is Licl both are stacked to each other with a membrane & its shadow between two. Now i want moisture content in the air on the membrane surface in the air side. I have been using coupled wall option in which trying to load udf but someone is suggesting me to load udf in air cell zones by using defining source. I am confused please help me out. And in loading on coupled wall option, nothing on the membrane surface.


Please help me out in this step.

#include "udf.h"

DEFINE_PROFILE(mass_h2o,t,i)
{
cell_t c;
Thread *t;
int i;

real x[ND_ND];
real A[ND_ND],At;
real x_H2O;

begin_f_loop(f,t)
{
F_AREA(A,f,memb_thread);
At=NV_MAG(A);
F_CENTROID(x,f,t);
F_YI(f,t,0);

F_PROFILE(f,t,i)=F_YI(f,t,0);
}
end_f_loop(f,t)
}

Some one is saying me to do through using Source terms.



Seniors please give me your insights over this.

Regards,

Abbas Raza
Abbas20000220 is offline   Reply With Quote

Reply

Tags
ansys 16.1, error #f, fluent - udf, mass diffusivity, udf code


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
[Gmsh] Error : Self intersecting surface mesh, computing intersections & Error : Impossible velan OpenFOAM Meshing & Mesh Conversion 3 October 22, 2015 12:05
[Gmsh] Vertex numbering is dense KateEisenhower OpenFOAM Meshing & Mesh Conversion 7 August 3, 2015 11:49
[snappyHexMesh] SnappyHexMesh no layers and no decent mesh for complex geometry pizzaspinate OpenFOAM Meshing & Mesh Conversion 1 February 25, 2015 08:05
[Gmsh] boundaries with gmshToFoam‏ ouafa OpenFOAM Meshing & Mesh Conversion 7 May 21, 2010 13:43
free convection heat transfer from a heated horizontal surface through a liquid to a thin cooled fin Kaushik FLUENT 1 May 8, 2000 07:47


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