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

Define_geom?????

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 27, 2013, 09:22
Default Define_geom?????
  #1
New Member
 
hadi
Join Date: May 2013
Posts: 10
Rep Power: 12
h.iraji is on a distinguished road
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
Attached Images
File Type: jpg 07-12-2013 01-17-32 ?-?.jpg (74.9 KB, 6 views)

Last edited by h.iraji; October 28, 2013 at 03:36.
h.iraji is offline   Reply With Quote

Reply


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



All times are GMT -4. The time now is 17:58.