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

field function and tables for inlet profile

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 1, 2013, 07:51
Default field function and tables for inlet profile
  #1
New Member
 
Join Date: Feb 2012
Posts: 8
Rep Power: 5
natalie26 is on a distinguished road
Hello everybody,


Iīm simulating a 2-phase flow (water-air) and i have to modell it with the VOF-methode.
Now I want to inject several droplets into a fluid region through the inlet.

By now i was able to inject droplets at only one position at the inlet.
Therefor i created field functions for the form(spherical) and center(which is moving at each timestep) of the droplet and assigned this field function to the inlet volume fraction of the water-phase.
To get multiple positions for the droplets to be injected i need several values for the coordinates but i donīt know how to define them.
I was thinking about tables with different values for the x- and z-coordinates(y=const.) but by now i couldnīt access them in my field functions.
Can anyone help me?
Thanks

Natalie
natalie26 is offline   Reply With Quote

Old   March 1, 2013, 14:35
Default
  #2
Member
 
Melih Meriį
Join Date: Apr 2011
Posts: 34
Rep Power: 6
grad@itu is on a distinguished road
Do you try "table" option? May be it can be more easy.
If i am not wrong, you want to define and inlet type for example different positions, different or variable entrance to inlet or someting like that?

There are much "table" entry options for ex, Table(x,y,z), Table(iteration), Table(time) you define different change or positions.
grad@itu is offline   Reply With Quote

Old   March 4, 2013, 03:02
Default
  #3
New Member
 
Join Date: Feb 2012
Posts: 8
Rep Power: 5
natalie26 is on a distinguished road
Thanks for your answer!
Yes, I guess it should work with a table.
But can you tell me if I can access a table in a user field function?

In the tutorials they assigne the tables for example to the velocity inlet or the volume fraction (at least everywhere where there is a drop down menue and you can choose between constant value, field function, table ect.)...Do you know what I mean? But i want to acces them in a field function.

For a better understanding: I want to have something like this:

field function: (vector) = [ a , y=constant, b ]

with a and b = Tables containing [1,2,3,4] and [5,6,7,8]

Hope you understand and you can help me
Thanks!
Natalie
natalie26 is offline   Reply With Quote

Old   March 5, 2013, 03:54
Default
  #4
Senior Member
 
siara817's Avatar
 
siamak rahimi ardkapan
Join Date: Jul 2010
Location: Copenhagen, Denmark
Posts: 218
Rep Power: 9
siara817 is on a distinguished road
Please search '' Interpolating Data as a Function of Another Table Column'' in the help of STAR-CCM.
__________________
Good luck
Siamak
siara817 is offline   Reply With Quote

Reply

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



All times are GMT -4. The time now is 21:49.