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

User Field Function Problem

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 28, 2014, 09:08
Default User Field Function Problem
  #1
New Member
 
RobinZ
Join Date: Apr 2014
Posts: 19
Rep Power: 11
RobinZ is on a distinguished road
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.
RobinZ is offline   Reply With Quote

Old   August 28, 2014, 12:57
Default
  #2
Member
 
kris
Join Date: May 2014
Posts: 73
Rep Power: 11
kguntur is on a distinguished road
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.
kguntur is offline   Reply With Quote

Old   August 29, 2014, 07:18
Default
  #3
Senior Member
 
Ping
Join Date: Mar 2009
Posts: 556
Rep Power: 20
ping is on a distinguished road
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
ping is offline   Reply With Quote

Old   September 3, 2014, 09:22
Default
  #4
New Member
 
RobinZ
Join Date: Apr 2014
Posts: 19
Rep Power: 11
RobinZ is on a distinguished road
Thanks a lot! I did it by creating an isosurface. It was very easy.
RobinZ is offline   Reply With Quote

Reply

Tags
star

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 07:52.