|
[Sponsors] |
August 28, 2014, 09:08 |
User Field Function Problem
|
#1 |
New Member
RobinZ
Join Date: Apr 2014
Posts: 19
Rep Power: 12 |
Hey Guys,
i have a problem with defining a user field function in star ccm+. I want to have the value for the highest y position with an volume fraction value of 1, for water. So short i want to observe my water level. I tried to write this: max($$Position[1]($VolumeFractionWater==1)) But i get an syntax error. I hope you can help me. |
|
August 28, 2014, 12:57 |
|
#2 |
Member
kris
Join Date: May 2014
Posts: 73
Rep Power: 12 |
I am not sure if this is what you want, but you can try this to get the max y value for volume fraction of water =1
Create a threshold for volume fraction of water >0.9 (use 0.99 if you want to be very precise) Create a maximum report with the threshold as the part and Position(j) as the function. This report would give the max y for volume fraction of water >0.9. Hope this helps. |
|
August 29, 2014, 07:18 |
|
#3 |
Senior Member
Ping
Join Date: Mar 2009
Posts: 556
Rep Power: 20 |
that is a good suggestion
another method is to create an isosurface at water volume fraction 0.5 or similar and then do a max report of position on this new derived part |
|
September 3, 2014, 09:22 |
|
#4 |
New Member
RobinZ
Join Date: Apr 2014
Posts: 19
Rep Power: 12 |
Thanks a lot! I did it by creating an isosurface. It was very easy.
|
|
Tags |
star |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] mesh airfoil NACA0012 | anand_30 | OpenFOAM Meshing & Mesh Conversion | 13 | March 7, 2022 18:22 |
User defined field function. | karthik1413 | STAR-CCM+ | 3 | January 23, 2014 11:31 |
user defined function in Transient Structural for FSI problem | omidiut | CFX | 5 | December 5, 2011 12:19 |
OpenFOAM static build on Cray XT5 | asaijo | OpenFOAM Installation | 9 | April 6, 2011 13:21 |
ParaView for OF-1.6-ext | Chrisi1984 | OpenFOAM Installation | 0 | December 31, 2010 07:42 |