CFD Online Logo CFD Online URL
Home > Forums > CD-adapco

VOF user coding

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

LinkBack Thread Tools Display Modes
Old   August 25, 2008, 23:48
Default VOF user coding
Posts: n/a
hi all i am doing the damp break problem using VOF in star-CD 3.26, i want to keep track of the interface is there any way that i can capture cell coordinates where the interface is there. i have an idea of writing a user coding using posdat.f like print all the cell cordinates for each time where VOF is greater than 0 and less than 1, the difficulty i am facing here is i don't know, with what variable i will be able to access these parameters like the Scalar concentration (VOF) and the corresponding XY coordinates of the cell. please some one help in this regard.

  Reply With Quote

Old   August 26, 2008, 10:53
Default Re: VOF user coding
Posts: n/a
You can use post shell create (help pscr) to put shells on an iso-surface.

Have a macro step through the pstt file. Create a new shell type for each time step.
  Reply With Quote

Old   October 29, 2015, 02:07
New Member
Join Date: Jun 2015
Posts: 11
Rep Power: 2
IRP is on a distinguished road
Dear Ramki and pauli

I am also dealing with a problem with Star-CD, about the impact of droplet on a surface.
Scalar (1) =Air
Scalar (2) =Water

Indeed, I am going to compare of Scalar (2) at each time step and put the bigger value instead of the lower one.
i have a difficulty to set these kind of subroutine.

Phase source as a user coding (direct: Thermophysical model and properties—Source Terms—Scalar— User coding).

I would be appreciated if could help me to that what kind of function as user coding would be suitable in this condition.

Thank you very much in advance.
IRP is offline   Reply With Quote


Thread Tools
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
converting user-coding in V4 Karl Mehler CD-adapco 0 September 28, 2008 15:48
posdat user coding Sara CD-adapco 3 September 18, 2008 13:59
Print value to screen in user coding? Cb CD-adapco 1 September 30, 2005 07:29
Help with coding James Main CFD Forum 2 May 18, 2005 05:12
User coding on NT w2k Philip Jones CD-adapco 0 November 26, 2001 04:43

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