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

the meaning of "mag"?

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Yanci

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 17, 2014, 19:16
Default the meaning of "mag"?
  #1
New Member
 
Yongxiao Wang
Join Date: Nov 2014
Posts: 16
Rep Power: 11
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"?
nepomnyi likes this.
Yanci is offline   Reply With Quote

Old   November 18, 2014, 02:20
Default
  #2
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,905
Rep Power: 33
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, 05:46
Default
  #3
New Member
 
Yongxiao Wang
Join Date: Nov 2014
Posts: 16
Rep Power: 11
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, 07:13
Default
  #4
Senior Member
 
RodriguezFatz's Avatar
 
Philipp
Join Date: Jun 2011
Location: Germany
Posts: 1,297
Rep Power: 26
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


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
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 1 May 12, 2017 03:40
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 Siemens 0 May 15, 2007 05:15
What's the meaning of "combustion scalar"and.... cfdbeginner CFX 0 November 27, 2003 09:02


All times are GMT -4. The time now is 13:52.