|
[Sponsors] |
How to define volume of a fluid in star ccm+ using a field function? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 19, 2015, 11:11 |
How to define volume of a fluid in star ccm+ using a field function?
|
#1 |
New Member
Deutschland
Join Date: May 2015
Posts: 5
Rep Power: 10 |
Hello
Can anyone help me define volume of a fluid in star ccm+ using a feild function. Thnak you Regards Sarvesh |
|
December 20, 2015, 13:33 |
|
#2 | |
Senior Member
Lane Carasik
Join Date: Aug 2014
Posts: 692
Rep Power: 14 |
Quote:
Also, please take a look at the VOF: Gravity Driven Flow tutorial of the user manual. It discusses some basics of VOF. |
||
December 21, 2015, 16:23 |
|
#3 |
New Member
Deutschland
Join Date: May 2015
Posts: 5
Rep Power: 10 |
Sir
I want to define a Liquid Steel level in a single strand tundish using a field function there is a tutorial that says you can define fluid levels by coordinats example: The setup steps for the example in Figure 1 are shown below. For the water: Tools > Field Functions > New > User Field Function 1 > Properties Type: Scalar Function Name:Change User Field Function 1 to Initial_Height_Water Definition: ($$Position[2]<=0.7)?1:0 For the oil: Tools > Field Functions > New > User Field Function 1 > Properties Type: Scalar Function Name: Change User Field Function 1 to Initial_Height_Oil Definition: ($$Position[2]>=0.7)?1:0 $$Position[2]: Z direction (height) In my case my inlet is through the air level and submerged in the fluid. My tundish is of 1m height and 0.8m consist of liquid steel and the rest is air. My inlet consist of only liquid steel not air i just want to know how can I setup my field function definition. I am not able to share my image here if i can have your email id i can send it to you. let me know if you need any further details Thank you |
|
April 23, 2016, 12:03 |
|
#4 |
Member
Ahmed Elhanfi
Join Date: Nov 2014
Posts: 30
Rep Power: 11 |
Hi All,
I have the same problem discussed here. I need to assign Water (VOF) to specific volumes (two volumes). The full domain is 0<=x<=10 m, 0<=y<=2 m, 0<=z<=10 m. The domain should contain air, while the following volumes should have water: Volume1: 0<=x<=10, 0<=y<=2, 0<=z<=5 Volume2: 4<=x<=6, 0<=y<=2, 5<=z<=6 I know how to do this for one volume using a field function such as the following for Volume 1: (0<=$$Centroid[0]<=10 && 0<=$$Centroid[1]<=2 && 0<=$$Centroid[2]<=5)?0.0 : 1.0. For Volume 2: (4<=$$Centroid[0]<=6 && 0<=$$Centroid[1]<=2 && 5<=$$Centroid[2]<=6)?0.0 : 1.0. But I do not know how to combine them properly. Would you please help me solving this problem. Attached is a simple description of what I'm looking for. Cheers, Ahmed |
|
April 24, 2016, 05:00 |
|
#5 |
New Member
Deutschland
Join Date: May 2015
Posts: 5
Rep Power: 10 |
Hello!
Is your domain square or cylinder? Can you send me your simulation file? sarvesh34@gmail.com I can try it!! Thanks |
|
April 25, 2016, 11:53 |
|
#6 |
Member
Ahmed Elhanfi
Join Date: Nov 2014
Posts: 30
Rep Power: 11 |
Hi All,
I figured out how to combine the two field functions using a || logical operator. Now it works, and using a scene to show the selected/combined field function. Attached is the outcome. Cheers, Ahmed |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] mesh airfoil NACA0012 | anand_30 | OpenFOAM Meshing & Mesh Conversion | 13 | March 7, 2022 17:22 |
[blockMesh] non-orthogonal faces and incorrect orientation? | nennbs | OpenFOAM Meshing & Mesh Conversion | 7 | April 17, 2013 05:42 |
blockMesh error ... | balkrishna | OpenFOAM Pre-Processing | 0 | August 17, 2010 02:39 |
Droplet Evaporation | Christian | Main CFD Forum | 2 | February 27, 2007 06:27 |
Terrible Mistake In Fluid Dynamics History | Abhi | Main CFD Forum | 12 | July 8, 2002 09:11 |