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

Position Field Function

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 5, 2012, 12:56
Default Position Field Function
  #1
New Member
 
Join Date: Jan 2012
Posts: 5
Rep Power: 14
amish is on a distinguished road
Hi Guys,

I'm relatively new in using Star CCM, and I have a pretty complex task to do. I've used tutorials and gained a pretty decent understanding of how to get most basic thing working (I hope).

My main task is to create a free surface flowing pond, with inlet and outlet, so I can track the residence time distribution of injected particles. Instead of starting out with a irregular pond shape. I've decided to use a simple rectangular "pond" with a simple inlet and outlet.

Now I believe my set-up is correct, and I'm using a implicit unsteady, multi-phase flow, with gravity, and modelling air and water. Now I would like the "pond" to initially be filled halfway with water, so the inflow can generate a steady current.

In the initial conditions, I set the volume fraction as a composite, and used a field function to define the water as I had seen in a previous tutorial. I am using the field function:

Code:
($$Position[1]<=-0.5)?1:0
But when I make a scalar plot of this field function it does not appear to show anything, and I'm not sure why.

Any help would be greatly appreciated.

Many Thanks

Amish
amish is offline   Reply With Quote

Old   January 6, 2012, 03:29
Default
  #2
Member
 
Join Date: Feb 2011
Location: DE-PB
Posts: 56
Rep Power: 15
willimanili is on a distinguished road
Initialize the solution and then you should see your initial condition setting at the boundaries.
willimanili is offline   Reply With Quote

Old   January 6, 2012, 10:54
Default
  #3
New Member
 
Join Date: Jan 2012
Posts: 5
Rep Power: 14
amish is on a distinguished road
Hey thank you so much for that. I did indeed forget to initialise, however I also forgot to select the fluid as a part to show.

Once doing both. It showed up nicely, and I'm glad the field function worked out well.

Thank you.
amish is offline   Reply With Quote

Reply


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
Field function lcg44 STAR-CCM+ 1 November 30, 2011 00:13
UDF vs Custom field function andrew FLUENT 5 June 24, 2011 11:53
User Field Function hannow STAR-CCM+ 3 November 24, 2009 21:20
Interface Matching and Field Function problems PLUH STAR-CCM+ 3 July 6, 2009 09:33
Custom Field function...>>>Please HELP..! sushii FLUENT 2 October 11, 2007 02:04


All times are GMT -4. The time now is 04:44.