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

moisture over a surface

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 20, 2020, 05:53
Default moisture over a surface
  #1
New Member
 
Abbas Raza
Join Date: Nov 2020
Posts: 27
Rep Power: 5
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

Thread Tools Search this Thread
Search this Thread:

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


All times are GMT -4. The time now is 16:50.