|
[Sponsors] |
October 27, 2013, 09:22 |
Define_geom?????
|
#1 |
New Member
hadi
Join Date: May 2013
Posts: 10
Rep Power: 12 |
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…. thanks Last edited by h.iraji; October 28, 2013 at 03:36. |
|
|
|