CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   How to make this draw in 3D (https://www.cfd-online.com/Forums/cfx/96419-how-make-draw-3d.html)

kbaker January 22, 2012 16:47

How to make this draw in 3D
 
1 Attachment(s)
I want to draw 3D pipe inlet as 2 inlets one for Air and the other for Water as shown in picture may somebody tell me to how i can draw it and use it in CFX?

ghorrocks January 22, 2012 18:51

This is trivial to draw in any solid modelling package or DesignModeller. If you cannot work out how then do some tutorials on your solid modellign package of choice.

If this is a multiphase simulation why can't you use a single inlet and use the volume fraction to define the air and water sections?

kbaker January 23, 2012 06:39

Hi thanks for the reply If I use single inlet how I can define the shape of the interface as you see from the pict my interface is concave not flat ? I think your idea is right with flat interface not concave? also i am new with CFX?

ghorrocks January 23, 2012 06:47

You have to define a CEL expression which evaluates to 0 in the air region and 1 in the water region (for the water VF). In this case the interface looks circular so an equation which gives the distance from the centre point should do the trick, as you use an if statement to assess whether it is inside or outside your defined arc.

kbaker January 23, 2012 15:37

Thanks for the reply as I told you I am new with CFX what you mean with CEL expression? what you advice me to read to start simulation my case with CFX?

ghorrocks January 23, 2012 17:36

CEL is the CFX expression language. You can see how it works in the tutorials as many of them use CEL functions.

kbaker January 25, 2012 03:42

may you sent me a web site for all CFX tutorials or sent it via my email below I am actually not have anyone.
khalidb77@gmail.com

Lance January 25, 2012 03:59

Quote:

Originally Posted by kbaker (Post 341011)
may you sent me a web site for all CFX tutorials or sent it via my email below I am actually not have anyone.
khalidb77@gmail.com

You already have them, they are included in the installation. Just open Help/tutorials inside CFX or locate cfx_tutr.pdf inside the Ansys installation folder.

There's also a couple of examples on the ansys customer portal, have a look there.

kbaker January 25, 2012 15:13

I found the cfx_tutr.pdf file but I not have any of mesh files, ccl files and out files and I do not have access for ansys customer portal I am so thankful if you kindly send me the related files for Tutorial (9) : Free surface flow over a Bump into my email.

Lance January 25, 2012 15:17

Quote:

Originally Posted by kbaker (Post 341169)
... I not have any of mesh files, ccl files and out files

yes you do, look at:
<cfxroot>\CFX\examples

Quote:

Originally Posted by kbaker (Post 341169)
....I do not have access for ansys customer portal...

every customer should have access...

kbaker January 29, 2012 07:19

Dear ghorrocks I read and run the Free surface flow over a Bump tutorial available in examples folder its a good example in free surface flow If you remember for the pict i sent in my first post you told me that I need to define a CEL expression for vof for water to evaluate the shape of interface ? the problem I do not have equation define it only I have it's distance from the bottom of pipe so how i can define the convex interface in this case? any suggestions pls?

kbaker

Quote:

Originally Posted by ghorrocks (Post 340601)
You have to define a CEL expression which evaluates to 0 in the air region and 1 in the water region (for the water VF). In this case the interface looks circular so an equation which gives the distance from the centre point should do the trick, as you use an if statement to assess whether it is inside or outside your defined arc.


ghorrocks January 29, 2012 18:42

To do this in a CEL expression you need to define an expression which describes the shape of the interface. This looks like a circle so that should not be too hard. Then you simply do a check (with step or if) whether the point is inside or outside the circle, and define the volume fraction.


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