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

the meaning of "mag"?

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   November 17, 2014, 20:16
Default the meaning of "mag"?
  #1
New Member
 
Yongxiao Wang
Join Date: Nov 2014
Posts: 16
Rep Power: 2
Yanci is on a distinguished road
Hello there,

I met some problems about unit. What is the result of the following formula?

(2.0)*mag(symm(fvc::grad(U)))

Is it the square of strain rate (unit:s^-2) ?

What is the meaning of "mag"?
Yanci is offline   Reply With Quote

Old   November 18, 2014, 03:20
Default
  #2
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,758
Rep Power: 21
hjasak will become famous soon enough
mag = magnitude
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak is offline   Reply With Quote

Old   November 18, 2014, 06:46
Default
  #3
New Member
 
Yongxiao Wang
Join Date: Nov 2014
Posts: 16
Rep Power: 2
Yanci is on a distinguished road
Thank you for your reply.
Dose this means "mag(symm(fvc::grad(U)))" has no unit?
But the error information shows the unit of "(2.0)*mag(symm(fvc::grad(U)))*nu()" is "[0 2 -2 0 0 0 0]". Why is it the unit of nu [0 2 -1 0 0 0 0]?
Yanci is offline   Reply With Quote

Old   November 18, 2014, 08:13
Default
  #4
Senior Member
 
RodriguezFatz's Avatar
 
Philipp
Join Date: Jun 2011
Location: Germany
Posts: 1,097
Rep Power: 16
RodriguezFatz will become famous soon enough
nu is the kinematic viscosity with unit m^2/s.
U is velocity with unit m/s
grad is derivative with unit 1/m
Multiply all of them and you get m^2/s * m/s * 1/m = m^2/s^2
Everything is fine.
__________________
The skeleton ran out of shampoo in the shower.
RodriguezFatz is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Who can tell me what is the meaning of the macro in fluent UDF:C_PREMIXC_RATE(c,t) ChenZhan Fluent UDF and Scheme Programming 0 November 6, 2013 09:18
Meaning of Ychar and Ypmma aylalisa OpenFOAM Pre-Processing 2 October 20, 2013 05:49
What's meaning of UDF FUNCTION zhaoxinyu Fluent UDF and Scheme Programming 0 March 31, 2010 08:04
want to know meaning Sangamesh CD-adapco 0 May 15, 2007 05:15
What's the meaning of "combustion scalar"and.... cfdbeginner CFX 0 November 27, 2003 10:02


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