|
[Sponsors] |
January 25, 2007, 01:43 |
Expression NV_VEC,NV_D,NV_S,NV_DS
|
#1 |
Guest
Posts: n/a
|
I want to know the meaning of the following expression.
1. real NV_VEC(psi), NV_VEC(A); 2. NV_D(psi, =, F_U(f,t), F_V(f,t), F_W(f,t)); 3. NV_S(psi, *=, F_R(f,t)) 4. NV_DS(psi_vec, =, F_U(f,t), F_V(f,t), F_W(f,t), *, dens); |
|
January 25, 2007, 15:04 |
Re: Expression NV_VEC,NV_D,NV_S,NV_DS
|
#2 |
Guest
Posts: n/a
|
VEC for vector, D for directions and S for scalar;
real NV_VEC(psi--- defines a vector psi[0]i+psi[1]j+psi[2]k NV_D(psi,=,u,v,w)--- assigns values in 3directions to a vector psi = ui+vj+wk NV_S(psi,*=,R) => psi = psi * R (assigns/modifies magnitude) NV_DS(psi_vec,=,u,v,w,*,dens) =>direction & scalar operations psi_vec = (ui+vj+wk)*dens; |
|
September 22, 2012, 00:23 |
|
#3 |
New Member
nguyentuan
Join Date: Sep 2012
Posts: 5
Rep Power: 14 |
How about
real NV_VEC(A) Mean of letter (A) in above code ? |
|
February 20, 2014, 07:18 |
meaning of other commands
|
#4 |
New Member
PSM
Join Date: Sep 2013
Posts: 10
Rep Power: 13 |
NV_VV
NV_cross NV_s nv_v pls can u elaborate the above commands |
|
February 13, 2018, 13:28 |
|
#5 |
Member
zobekenobe
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 72
Rep Power: 17 |
A would be the Area vector
|
|
December 14, 2020, 12:40 |
shifting axis of rotation
|
#6 |
New Member
Tanuj Srivastava
Join Date: Mar 2019
Posts: 15
Rep Power: 7 |
I want to shift the location of axis of rotation to some other point, then what changes needs to be made in UDF made for SHM???
|
|
December 15, 2020, 00:09 |
|
#7 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
which UDF do you use now?
__________________
best regards ****************************** press LIKE if this message was helpful |
|
December 15, 2020, 04:53 |
|
#8 |
New Member
Tanuj Srivastava
Join Date: Mar 2019
Posts: 15
Rep Power: 7 |
For now, I am using below UDF:
#include "udf.h" #define Freq 0.125 #define angular_freq 2.0*M_PI*Freq #define tetmax 5.0*M_PI/180 DEFINE_ZONE_MOTION(TP8AMP05, omega, axis, origin, velocity, time, dtime) { N3V_D(velocity, = , 0.0, 0.0, 0.0); *omega = tetmax*angular_freq*cos(angular_freq*time); } when I run the simulation using mesh motion, I can see the system moving, but rotation happens around Z-axis at (0,0,0) and it is ok because I did not give it the command to rotate about any other axis. I want the same, but I want the axis to be shifted below say at coordinate (0,0.5,0). Then what changes need to be made in UDF? |
|
April 15, 2021, 07:34 |
Moulishwar
|
#9 |
New Member
Moulishwar
Join Date: Apr 2021
Posts: 5
Rep Power: 5 |
Hi Tanuj,
You can specify the axis about which you wish to rotate the object under the Dynamic Mesh option in FLUENT. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem About Running Fluent In Linux | mitra | FLUENT | 18 | June 20, 2019 03:11 |
How to install CGNS under windows xp? | lzgwhy | Main CFD Forum | 1 | January 11, 2011 19:44 |
CGNS lib and Fortran compiler | manaliac | Main CFD Forum | 2 | November 29, 2010 07:25 |
Lift, Drag Vs time chart,calculations | Jamesd69climber | CFX | 8 | February 17, 2005 18:23 |
Creating, loop or iteration using expression edito | Jan | CFX | 3 | July 28, 2003 12:01 |