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

dimensionedScalar

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

Reply
 
LinkBack Thread Tools Display Modes
Old   January 28, 2013, 16:04
Question dimensionedScalar
  #1
New Member
 
Abbas Rahimi
Join Date: Jan 2013
Posts: 20
Rep Power: 4
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 Sam
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,123
Blog Entries: 1
Rep Power: 14
nimasam is on a distinguished road
Send a message via Yahoo to nimasam
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
__________________
Training Course on OpenFOAM at (http://www.isme.ir/)
My Weblog (http://openfoam.blogfa.com/)
nimasam is offline   Reply With Quote

Old   January 28, 2013, 20:40
Default
  #3
New Member
 
Abbas Rahimi
Join Date: Jan 2013
Posts: 20
Rep Power: 4
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

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


All times are GMT -4. The time now is 05:32.