CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > STAR-CCM+

dimension in field function

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 16, 2013, 12:49
Default dimension in field function
  #1
Member
 
Arun Krishnan.L.H
Join Date: Jan 2013
Posts: 74
Rep Power: 4
arun7328 is on a distinguished road
Hi all,

I was trying to create a field function to define the static pressure of a body in free surface. I have no syntax errors in my definition but i am not able to define the dimension at all.
I read in the manual that is it is a read only function. How do i change it to the unit of pressure? I have to create a surface integral report to get the force. If my field function is dimensionless the surface integral unit is m^2.

I even tried to create a new unit but when i define the dimensions there, again there is no change.

Can you please tell me where I am going wrong? Please help.

Regards
Arun
arun7328 is offline   Reply With Quote

Old   March 17, 2013, 02:08
Default
  #2
Senior Member
 
KHB
Join Date: Aug 2010
Location: Singapore
Posts: 107
Rep Power: 6
lava12005 is on a distinguished road
If you go to Tools>Field Function
And then check your UDF below type you can change your dimension (Force, Area, etc)
lava12005 is offline   Reply With Quote

Old   March 17, 2013, 06:38
Default
  #3
Member
 
Arun Krishnan.L.H
Join Date: Jan 2013
Posts: 74
Rep Power: 4
arun7328 is on a distinguished road
I have tried doing that but it would not change. It still remains dimensionless.I am not sure why?
arun7328 is offline   Reply With Quote

Old   March 17, 2013, 07:26
Default
  #4
Senior Member
 
KHB
Join Date: Aug 2010
Location: Singapore
Posts: 107
Rep Power: 6
lava12005 is on a distinguished road
Say if you change the value of the Force from 0 to 1, then the Dimensions will change to Force isn't it?
And the surface integral will become N-m^2

Anyway even though the dimension is not correct, but you can still you the result right?
lava12005 is offline   Reply With Quote

Old   March 17, 2013, 08:31
Default
  #5
Member
 
Arun Krishnan.L.H
Join Date: Jan 2013
Posts: 74
Rep Power: 4
arun7328 is on a distinguished road
Quote:
Originally Posted by lava12005 View Post
Say if you change the value of the Force from 0 to 1, then the Dimensions will change to Force isn't it?
And the surface integral will become N-m^2

Anyway even though the dimension is not correct, but you can still you the result right?
The problem is when i change it to 1 and press ok it is still dimensionless and then when i take a surface integral it is showing the unit as m^2. Even when i define a new unit, the dimension is not changing.

I am not getting what the prob could be.

Can you please give me some suggestions.?
arun7328 is offline   Reply With Quote

Old   March 17, 2013, 10:12
Default
  #6
Senior Member
 
KHB
Join Date: Aug 2010
Location: Singapore
Posts: 107
Rep Power: 6
lava12005 is on a distinguished road
Is it possible that your file is corrupted?
What if you start a new simulation and do something simple and try checking your UDF dimension? Does it change?
lava12005 is offline   Reply With Quote

Old   March 17, 2013, 14:06
Default
  #7
Member
 
Arun Krishnan.L.H
Join Date: Jan 2013
Posts: 74
Rep Power: 4
arun7328 is on a distinguished road
actually i did that too..i tried to open a new simulation and define a simple field function from a tutorial or even try to define a unit. Its nt changing at all. If i am not able to change and i use a surface integral, its never going to given me force in newtons. I have got everything else running pretty good though.
arun7328 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
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20
problems after decomposing for running alessio.nz OpenFOAM 5 April 20, 2011 08:44
Force Report help~ or maybe Custom Field Function sailor FLUENT 0 April 13, 2011 03:45
Error with Wmake skabilan OpenFOAM Installation 3 July 28, 2009 00:35
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51


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