|
[Sponsors] |
December 4, 2017, 22:50 |
How to use the CFX periodic interface
|
#1 |
Member
wan zhihua
Join Date: Dec 2017
Posts: 67
Rep Power: 8 |
Recently I use the CFX software to simulation a rectangle channel ,I need to use a periodic condition,I see that we can use a periodic inteface ,but when I use that condition, I find I cannot define the same position to a velocity inlet, I ant to ask you how can I deal with it ?Thank you very much.
|
|
December 5, 2017, 12:55 |
|
#2 |
Senior Member
Erik
Join Date: Feb 2011
Location: Earth (Land portion)
Posts: 1,184
Rep Power: 23 |
Define the same position to a velocity inlet?
Just define total mass flow instead. it will calculate the non uniform velocity at the interface. If you are specifying velocity, it isn't periodic, you would just be specifying it at the inlet and outlet. |
|
December 11, 2017, 09:29 |
but in my situation ,the university is not uniform,how to solve it
|
#3 |
Member
wan zhihua
Join Date: Dec 2017
Posts: 67
Rep Power: 8 |
Think you for your reply ,but in my situation ,the university is not uniform,how to solve it ,I know we can use a expression for the mass flow,but I do not how to make CEL expression, can you help me?
|
|
December 11, 2017, 17:31 |
|
#4 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,830
Rep Power: 144 |
There are many examples of CEL expressions in the CFX tutorials. You can get them from the ANSYS Customer webpage.
|
|
December 12, 2017, 09:38 |
do you know how to build a segmentation cel expression?
|
#5 |
Member
wan zhihua
Join Date: Dec 2017
Posts: 67
Rep Power: 8 |
||
December 12, 2017, 21:07 |
|
#6 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,830
Rep Power: 144 |
What is a segmentation CEL expression?
|
|
December 13, 2017, 23:41 |
[QUOTE=ghorrocks;674904]What is a segmentation CEL expression?[/QUOTE]
|
#7 |
Member
wan zhihua
Join Date: Dec 2017
Posts: 67
Rep Power: 8 |
I mean I do not know how to build a cel expression ,in the fluent ,we can use the text to build a udf ,and then change the suffix to" .c", when I try to do this way ,and choose to change the suffix to ".cll", I cannot to import this document into the CFX pre ,can you tell me how can I do it ?Thank you for your pleasure.
|
|
December 13, 2017, 23:43 |
how to build a cel expression in CFX?
|
#8 |
Member
wan zhihua
Join Date: Dec 2017
Posts: 67
Rep Power: 8 |
how to build a cel expression ,in the fluent ,we can use the text to build a udf ,and then change the suffix to" .c", when I try to do this way ,and choose to change the suffix to ".cll", I cannot to import this document into the CFX pre ,can you tell me how can I do it ?Thank you for your pleasure.
|
|
December 14, 2017, 00:14 |
|
#9 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,830
Rep Power: 144 |
In CFX you do not need a separate file to define expressions. You can define them directly in CFX-Pre using the CEL (CFX Expression Language), and they are part of the CCL.
Many of the CFX examples use CEL expressions. I REALLY recommend you look at the CFX tutorials, as I recommended in post #4. |
|
December 14, 2017, 04:01 |
[QUOTE=ghorrocks;675050]In CFX you do not need a separate file to define expressions.
|
#10 | |
Member
wan zhihua
Join Date: Dec 2017
Posts: 67
Rep Power: 8 |
Quote:
Thank you very much for your reply,I have tried to do as you say ,but the condition expression is not a constant value, in my situlation, I use a translational periodocity interface model, and I choose a mass flow rate model to describe the boundary,but my mass flow m=if(y<0.0009,y/0.0009[m]*0.09[kg s^-1],0[kg s^-1]),when I choose this expression to the cfx-pre,it will give a error as this: The parameter 'Mass flow rate 'in object 'flow :flow analysis 1/domain interface:domain interface 1/interface models /mass and momentum/momentum interface model' is defined to be 'single valued 'but it depends on the following field valued variables:y.Because I cannot put the image into the forum,if you are convinent ,I can send to your e-mail or we-chat. I think we should use a separate file to define the .ccl file,now I am reading the CFX tutorials,but it is difficult to understand some terminology,such as what is "single valued".Thanks for your reply. |
||
December 14, 2017, 05:09 |
|
#11 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,830
Rep Power: 144 |
Single valued means that the mass flow rate is a single value, such as 1 kg/s. You have defined a function where the mass flow rate is a function of position. This does not make sense as the mass flow rate is the integral of the velocity and density over the inlet - how can the integral be one value above y=0.0009 and another below?
What you should do is put a wall at your inlet and outlet to cover the section which has no flow, and use a normal translational periodic boundary with a defined flow rate for the remainder. |
|
December 14, 2017, 07:58 |
|
#12 | |
Member
wan zhihua
Join Date: Dec 2017
Posts: 67
Rep Power: 8 |
Quote:
You may not know my research object,my object is a verticle rectangle ,and two fluid such as water and air come in one side,and the water is falling film on the wall,the water film thickness is 0.9mm,the wide of this channel is 3.6mm,so there exists only water below the 0.9mm.and because of that the water velocity is parabolic,so the mass flow varies with the y position .So I should use the ccl. to define the mass flow for the normal translational periodic boundary.I am looking for your reply. |
||
December 14, 2017, 08:07 |
[QUOTE=evcelica;674026]Define the same position to a velocity inlet? Just define t
|
#13 |
Member
wan zhihua
Join Date: Dec 2017
Posts: 67
Rep Power: 8 |
In the inlet ,I have two phase, one is water film ,other is air ,how can I give this mass inlet,thank you for your reply.
|
|
December 14, 2017, 18:54 |
|
#14 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,830
Rep Power: 144 |
Can you post an image of what you are modelling? Please show the geometry and the expected fluid flow.
|
|
December 14, 2017, 20:21 |
[QUOTE=ghorrocks;675162]Can you post an image of what you are modelling? Please show
|
#15 |
Member
wan zhihua
Join Date: Dec 2017
Posts: 67
Rep Power: 8 |
||
December 15, 2017, 00:41 |
|
#16 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,830
Rep Power: 144 |
How do I post an image on the forum? FAQ: https://www.cfd-online.com/Wiki/Ansy...n_the_forum.3F
|
|
December 15, 2017, 20:23 |
[QUOTE=ghorrocks;675184]How do I post an image on the forum? FAQ: [url]https://www.cf
|
#17 | |
Member
wan zhihua
Join Date: Dec 2017
Posts: 67
Rep Power: 8 |
Quote:
If three-dimensional simulation takes the whole flow region as the computational domain, it will lead to a considerable computational cost. This study applies periodic boundary conditions tsimulate the fully developed film flow in a relatively short domain(150δ*4δ*150δ) which is shown in the figure.In my simulation,the water film thickness is 0.9mm(δ=0.9mm,the blue region represents the water film ,the white region represents the air),the wide of this channel is 3.6mm,so there exists only water below the 0.9mm.The domain contains thin film on a flat plate with air on the top of it. The calculation domain is long enough for one wave length based on the experimental measurement. Boundary A, B and C, D are set as periodic boundary conditions. Boundary E is set as no slip wall. Boundary F is set as opening pressure boundary. The initial conditions of the film thickness and velocity are evaluated by Nusselt theory (whose velocity is parabolic). It is worth mentioning that the choices of the size of the computational domain and the boundary conditions are both based on the film flow characteristics and adequate verification work.Maybe you understand my object ,now I can not solve how to give the variable mass flow condition and periodic conditon ,I am looking for your reply. .I am looking for your reply. |
||
December 15, 2017, 20:43 |
|
#18 | |
Member
wan zhihua
Join Date: Dec 2017
Posts: 67
Rep Power: 8 |
Quote:
This is the Nusselt theory velocity for the liquid film. |
||
December 16, 2017, 06:24 |
|
#19 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,830
Rep Power: 144 |
I see no reason why the normal, default translational periodic boundaries would not work. For a translational periodic boundary you do not need to define anything - the flow out the exit side just becomes the flow in the inlet side. You do not need to modify anything.
So just use default translational periodic boundaries. The solver will work out the velocity profile and free surface height which will result in fully developed flow. |
|
December 16, 2017, 10:00 |
[QUOTE=ghorrocks;675330]I see no reason why the normal, default translational periodi
|
#20 | |
Member
wan zhihua
Join Date: Dec 2017
Posts: 67
Rep Power: 8 |
Quote:
|
||
Tags |
cfx, interface, periodic, translational |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Out File does not show Imbalance in % | Mmaragann | CFX | 5 | January 20, 2017 10:20 |
Radiation interface | hinca | CFX | 15 | January 26, 2014 17:11 |
Confused about periodic interface | Jeff | STAR-CCM+ | 3 | August 15, 2012 22:30 |
CFX Solver Memory Error | mike | CFX | 1 | March 19, 2008 07:22 |
Periodic Interface | Magnoli | CFX | 0 | November 7, 2007 07:51 |