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

Search Results

Register Blogs Community New Posts Updated Threads Search

Showing results 1 to 5 of 5
Search took 0.00 seconds.
Search: Posts Made By: Amir
Forum: FLUENT August 24, 2011, 06:33
Replies: 10
Views: 1,716
Posted By Amir
Why don't you separate your outlet and define 2...

Why don't you separate your outlet and define 2 macro for each(upper_outlet and lower_outlet)? in this case each x has only one y?
Forum: FLUENT August 24, 2011, 03:12
Replies: 10
Views: 1,716
Posted By Amir
Dear noa, It doesn't matter; I just wanted to...

Dear noa,
It doesn't matter; I just wanted to show the procedure; you can use both methods in this case as well. Here you have to know movement of the interface between 2 y. Suppose the interface...
Forum: FLUENT August 23, 2011, 10:08
Replies: 10
Views: 1,716
Posted By Amir
Ok, every x has 2 y (in circular arch one + and...

Ok, every x has 2 y (in circular arch one + and another -) right?
so you can use if clause (if y>0 then ... else ....)
Or, because the difference is just in a negative mark use such compatible mode.
Forum: FLUENT August 23, 2011, 09:46
Replies: 10
Views: 1,716
Posted By Amir
Hi, you can use a if-clause or a compatible...

Hi,
you can use a if-clause or a compatible statement like this:
real y;
y=NODE_Y(node_p)/abs(NODE_Y(node_p))*sqrt(fabs(pow(R,2)-pow((x-a1),2)))+(b1+CURRENT_TIME/T);

Bests,
Forum: FLUENT August 21, 2011, 09:45
Replies: 10
Views: 1,716
Posted By Amir
Hi noa, there are some inconsistencies in your...

Hi noa,
there are some inconsistencies in your code! maybe you mean:
real x, y[2];
y[0]=...;
y[1]=...;
NODE_Y (node_p) = y;// you have to assign it with a scalar not...
Showing results 1 to 5 of 5

 
Forum Jump

All times are GMT -4. The time now is 10:43.