dimension in field function

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

 March 16, 2013, 12:49 dimension in field function #1 Member   Arun Krishnan.L.H Join Date: Jan 2013 Posts: 74 Rep Power: 4 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

 March 17, 2013, 02:08 #2 Senior Member   KHB Join Date: Aug 2010 Location: Singapore Posts: 105 Rep Power: 6 If you go to Tools>Field Function And then check your UDF below type you can change your dimension (Force, Area, etc)

 March 17, 2013, 06:38 #3 Member   Arun Krishnan.L.H Join Date: Jan 2013 Posts: 74 Rep Power: 4 I have tried doing that but it would not change. It still remains dimensionless.I am not sure why?

 March 17, 2013, 07:26 #4 Senior Member   KHB Join Date: Aug 2010 Location: Singapore Posts: 105 Rep Power: 6 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?

March 17, 2013, 08:31
#5
Member

Arun Krishnan.L.H
Join Date: Jan 2013
Posts: 74
Rep Power: 4
Quote:
 Originally Posted by lava12005 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.?

 March 17, 2013, 10:12 #6 Senior Member   KHB Join Date: Aug 2010 Location: Singapore Posts: 105 Rep Power: 6 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?

 March 17, 2013, 14:06 #7 Member   Arun Krishnan.L.H Join Date: Jan 2013 Posts: 74 Rep Power: 4 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.

 Thread Tools Display Modes Linear Mode

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

 Similar Threads Thread Thread Starter Forum Replies Last Post Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20 alessio.nz OpenFOAM 5 April 20, 2011 08:44 sailor FLUENT 0 April 13, 2011 03:45 skabilan OpenFOAM Installation 3 July 28, 2009 00:35 jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51

All times are GMT -4. The time now is 01:54.