CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   Define_geom????? (http://www.cfd-online.com/Forums/fluent/125519-define_geom.html)

h.iraji October 27, 2013 10:22

Define_geom?????
 
1 Attachment(s)
HI
I want to deforming thickness variations of the pressure plate in each cell(Cells of the upper face plate):
y=0.2601*exp(-6.147e-X*0.5) + 0.5091*exp(X*(-0.0007079))
(X=pressure , Y= thickness variation).

for this purpose i writed below udf but incorect:

#include "udf.h"
#include "mem.h"
DEFINE_GEOM(deforming,domain,dt,position)
{
cell_t c;
Thread *t;
real *position;
begin_c_loop_all(c,t)
{
position=0.2601*exp((-6.147e(-5))-C_P(c,t)*0.5) + 0.5091*exp(C_P(c,t)*(-0.0007079));
}
end_c_loop_all(c,t)
return;
}

Error: line 10: parse error

can anyone help me in regarding with above problem….:confused::confused:
thanks


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