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

Expression NV_VEC,NV_D,NV_S,NV_DS

Register Blogs Community New Posts Updated Threads Search

Like Tree29Likes
  • 29 Post By Sujith

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 25, 2007, 01:43
Default Expression NV_VEC,NV_D,NV_S,NV_DS
  #1
J.Y.Shin
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);
  Reply With Quote

Old   January 25, 2007, 15:04
Default Re: Expression NV_VEC,NV_D,NV_S,NV_DS
  #2
Sujith
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;
  Reply With Quote

Old   September 22, 2012, 00:23
Default
  #3
New Member
 
nguyentuan
Join Date: Sep 2012
Posts: 5
Rep Power: 14
vmtlv is on a distinguished road
How about
real NV_VEC(A)
Mean of letter (A) in above code ?
vmtlv is offline   Reply With Quote

Old   February 20, 2014, 07:18
Default meaning of other commands
  #4
New Member
 
PSM
Join Date: Sep 2013
Posts: 10
Rep Power: 13
pitamber.methia is on a distinguished road
NV_VV
NV_cross
NV_s
nv_v

pls can u elaborate the above commands
pitamber.methia is offline   Reply With Quote

Old   February 13, 2018, 13:28
Default
  #5
Member
 
zobekenobe
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 72
Rep Power: 17
zobekenobe is on a distinguished road
A would be the Area vector
zobekenobe is offline   Reply With Quote

Old   December 14, 2020, 12:40
Default shifting axis of rotation
  #6
New Member
 
Tanuj Srivastava
Join Date: Mar 2019
Posts: 15
Rep Power: 7
S_Tanuj is on a distinguished road
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???
S_Tanuj is offline   Reply With Quote

Old   December 15, 2020, 00:09
Default
  #7
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
Quote:
Originally Posted by S_Tanuj View Post
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???
which UDF do you use now?
__________________
best regards


******************************
press LIKE if this message was helpful
AlexanderZ is offline   Reply With Quote

Old   December 15, 2020, 04:53
Default
  #8
New Member
 
Tanuj Srivastava
Join Date: Mar 2019
Posts: 15
Rep Power: 7
S_Tanuj is on a distinguished road
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?
S_Tanuj is offline   Reply With Quote

Old   April 15, 2021, 07:34
Default Moulishwar
  #9
New Member
 
Moulishwar
Join Date: Apr 2021
Posts: 5
Rep Power: 5
Moulishwar is on a distinguished road
Hi Tanuj,
You can specify the axis about which you wish to rotate the object under the Dynamic Mesh option in FLUENT.
Moulishwar 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


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


All times are GMT -4. The time now is 04:02.