|
[Sponsors] |
March 16, 2013, 12:49 |
dimension in field function
|
#1 |
Member
Arun Krishnan.L.H
Join Date: Jan 2013
Posts: 75
Rep Power: 13 |
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: 118
Rep Power: 16 |
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: 75
Rep Power: 13 |
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: 118
Rep Power: 16 |
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: 75
Rep Power: 13 |
Quote:
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: 118
Rep Power: 16 |
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: 75
Rep Power: 13 |
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.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
problems after decomposing for running | alessio.nz | OpenFOAM | 7 | March 5, 2021 05:49 |
Moving mesh | Niklas Wikstrom (Wikstrom) | OpenFOAM Running, Solving & CFD | 122 | June 15, 2014 07:20 |
Force Report help~ or maybe Custom Field Function | sailor | FLUENT | 0 | April 13, 2011 04:45 |
Error with Wmake | skabilan | OpenFOAM Installation | 3 | July 28, 2009 01:35 |
DecomposePar links against liblamso0 with OpenMPI | jens_klostermann | OpenFOAM Bugs | 11 | June 28, 2007 18:51 |