CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

dimensionedScalar

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 28, 2013, 16:04
Question dimensionedScalar
  #1
New Member
 
Abbas Rahimi
Join Date: Jan 2013
Posts: 28
Rep Power: 13
AbbasRahimi is on a distinguished road
Hello,

I'm very new to OpenFOAM and I'm trying to learn this software and modify it for my application. I just bumped to dimensionedScalar which is like this:
nu nu[0 2 -1 0 0 0 0] 1;
There are three things that I can't understand:

1- What's nu mean?
2- If the values in [..] refer to field property and physics why like for length somewhre power 2 is chosen but other places power 1?
3- What does the last scalar after [...] referred as scalar mean?

Thank you so much.
AbbasRahimi is offline   Reply With Quote

Old   January 28, 2013, 16:34
Default
  #2
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25
nimasam is on a distinguished road
hello dear Abbas welcome to forum
first i recommend to read userguide , because your questions are so naive, and shows you dont yet look at userguide at all, however
1-nu is mu/rho , it is viscosity
2-????? i dont understand your question but those values in [] are dimensions of your variable for example for velocity (m/s = ms-1) so it would be [0 1 -1 0 0 0 0 .....]
3-its the value you assign to your variable actually nu=1 in your example
__________________
My Personal Website (http://nimasamkhaniani.ir/)
Telegram channel (https://t.me/cfd_foam)
nimasam is offline   Reply With Quote

Old   January 28, 2013, 20:40
Default
  #3
New Member
 
Abbas Rahimi
Join Date: Jan 2013
Posts: 28
Rep Power: 13
AbbasRahimi is on a distinguished road
Quote:
Originally Posted by nimasam View Post
hello dear Abbas welcome to forum
first i recommend to read userguide , because your questions are so naive, and shows you dont yet look at userguide at all, however
1-nu is mu/rho , it is viscosity
2-????? i dont understand your question but those values in [] are dimensions of your variable for example for velocity (m/s = ms-1) so it would be [0 1 -1 0 0 0 0 .....]
3-its the value you assign to your variable actually nu=1 in your example
Hello Nima,

Thank you so much for information. You are right, I need to look deeper into Tutorial...
AbbasRahimi is offline   Reply With Quote

Reply

Tags
dimensionedscalar


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
changing a volScalarField to a dimensionedScalar wschosta OpenFOAM Running, Solving & CFD 5 May 6, 2015 11:20
converting from dimensionedScalar to volScalarField shash OpenFOAM Running, Solving & CFD 7 July 11, 2012 06:02
[swak4Foam] Can groovyBC access dimensionedScalar? argonaut OpenFOAM Community Contributions 1 May 24, 2012 10:04
dimensionedScalar + volScalarField is evaluated elementwisely ? tianyikillua OpenFOAM Programming & Development 1 March 30, 2012 04:12
Confused about how OF handles operation between volScalarField and dimensionedScalar Edy OpenFOAM 3 September 30, 2010 11:07


All times are GMT -4. The time now is 22:00.