|
[Sponsors] |
July 15, 2015, 19:10 |
Is this expression correct?
|
#1 |
Member
M S
Join Date: Feb 2015
Posts: 30
Rep Power: 11 |
Hello.
This is a buoy in a water tank. i want to find the rotation angle of buoy in cfx-post i use this expression to find the angle (probe(Total Mesh Displacement Y)@Point 2 -probe(Total Mesh Displacement Y)@Point 1 )/(1[m]+probe(Total Mesh Displacement X)@Point 2 -probe(Total Mesh Displacement X)@Point 1 ) Point 1 is middle point of the right edge of buoy and point 2 is the middle point of the left edge of buoy. 1[m] is width of buoy after this i make a transient chart in location point 3 (0,0,0). x axis is time and y axis is the variable of this expression. is this correct? can you help me to find the correct way? |
|
July 15, 2015, 20:28 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144 |
Why not use the built in angle variable, contained in variable "rbstate"?
|
|
July 17, 2015, 06:02 |
|
#3 |
Member
M S
Join Date: Feb 2015
Posts: 30
Rep Power: 11 |
||
July 17, 2015, 07:34 |
|
#4 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144 |
The CFX documentation is your friend. Have a look in the reference manual.
|
|
July 20, 2015, 04:12 |
|
#5 |
Member
M S
Join Date: Feb 2015
Posts: 30
Rep Power: 11 |
||
July 20, 2015, 07:36 |
|
#6 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144 |
Have a look at the floating buoy simulation in the CFX tutorials. There are probably more on the ANSYS Customer web page.
|
|
July 22, 2015, 12:38 |
|
#7 | |
Member
M S
Join Date: Feb 2015
Posts: 30
Rep Power: 11 |
Quote:
I have 2 questions. 1. Why this expression don't work in cfx-post? 2. why my results from this expression and the expression I said above are different? |
||
July 22, 2015, 13:28 |
|
#8 |
Senior Member
Edmund Singer P.E.
Join Date: Aug 2010
Location: Minneapolis, MN
Posts: 511
Rep Power: 21 |
rbstate isnt passed to the results file, so Post doesnt have access to that. You would have to monitor those while the run is in solution.
rbstate returns angle in radians of rotation around global axis. I think you need an atan in your expression and why are you adding 1[m] to the X? I dont think that is needed. In addition, you will have issues when your denominator is 0 (X displacement of both points is same). |
|
July 22, 2015, 16:55 |
|
#9 |
Member
rasool
Join Date: Apr 2013
Posts: 41
Rep Power: 13 |
i think
it is true. atan( (probe(Total Mesh Displacement Y)@Point 1)/(1[m]-probe(Total Mesh Displacement X)@Point 1 )) |
|
July 24, 2015, 18:24 |
|
#10 | |
Member
M S
Join Date: Feb 2015
Posts: 30
Rep Power: 11 |
Quote:
I forget to write atan. But 1[m] is the width of buoy. because two points have 1[m] distance. and with this 1[m] in expression , the issue you noticed doesn't exist anymore. |
||
July 24, 2015, 18:26 |
|
#11 |
Member
M S
Join Date: Feb 2015
Posts: 30
Rep Power: 11 |
anyone Knows how I can change the charts units from radian to degree in solver?
|
|
July 25, 2015, 01:59 |
|
#12 |
Member
rasool
Join Date: Apr 2013
Posts: 41
Rep Power: 13 |
sorry divoone
atan( (probe(Total Mesh Displacement Y)@Point 1)/(0.5[m]-probe(Total Mesh Displacement X)@Point 1 )) |
|
July 25, 2015, 14:26 |
|
#13 |
Member
M S
Join Date: Feb 2015
Posts: 30
Rep Power: 11 |
||
July 26, 2015, 03:11 |
|
#14 |
Member
rasool
Join Date: Apr 2013
Posts: 41
Rep Power: 13 |
||
July 26, 2015, 15:35 |
|
#15 | |
Member
M S
Join Date: Feb 2015
Posts: 30
Rep Power: 11 |
Quote:
Do you Know why? which one is correct? |
||
Tags |
cfx, water tank |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Is my Dynamic mesh setup correct? | cfd seeker | FLUENT | 16 | October 30, 2020 07:16 |
Error reading profile data in expression in cfx post | banu | CFX | 4 | March 27, 2015 10:03 |
Moving mesh | Niklas Wikstrom (Wikstrom) | OpenFOAM Running, Solving & CFD | 122 | June 15, 2014 07:20 |
writing execFlowFunctionObjects | immortality | OpenFOAM Post-Processing | 30 | September 15, 2013 07:16 |
How to correct the expression given below | baburaj | Main CFD Forum | 1 | March 13, 2012 08:32 |