|
[Sponsors] |
CFX Simple valve model, inlet and outlet conditions |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 8, 2014, 07:27 |
|
#21 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144 |
1. Your expression returns a variable field of 0 bar and 309 bar in all nodal points.
2. You can define many parameters this way, but there are some restrictions. Some material properties must be constants or functions of a limited set of variables. And secondly - having material properties as a function of location is rarely physically accurate and almost always results in numerical difficulties. It is better to properly model the underlying physics. 3. I do not understand what you mean. The CEL is evaluated in context - initial conditions are evaluated at the start of the simulation, boundary conditions are evaluated each iteration, monitor point CEL is evaluated at the end of the time step/iteration. 4. Look in the installation manual for how to set up multiple processor operation. Note you will need additional licenses to use multiple processors. |
|
August 11, 2014, 08:04 |
|
#22 |
New Member
James
Join Date: Jul 2014
Location: Wales
Posts: 12
Rep Power: 12 |
Ok, thanks. So far I have been recording the average pressure in the air domain but this includes the bore as well. I want to know the average pressure in just the upper volume of the geometry. I'm using ave(Pressure)@Locator but the locator only takes 3D volumes which for the Air domain includes the bore. So do I need to change the geometry so that the region I want is a separate 3D volume? Or is there a way to specify that I want to record the average pressure above a specific Z position, like ave(Pressure)@z>10?
|
|
August 11, 2014, 09:44 |
|
#23 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144 |
I seem to recall there is some new stuff which allows this but I have never used it so am not sure.
If I was doing this then I would define a mesh region and use that. But an important point: You should be using the volumeAve(p)@region, not ave(p)@region. You want the volume weighed pressure, not the arithmetic average of the nodal values. |
|
August 11, 2014, 18:14 |
|
#24 |
New Member
James
Join Date: Jul 2014
Location: Wales
Posts: 12
Rep Power: 12 |
Thanks for the heads up about the volumeAve. I was playing around trying to get the simulation to run with the single domain. I was able to use if(x>#,309[bar],0[bar]) to initialise the pressure in the domain but when I tried to use if(inside()@SubdomainName,309[bar],0[bar])it gave the following error,
Bad expression value 'Expression 1' detected in parameter 'Relative Pressure' in object '/FLOW:Flow Analysis 1/DOMAINefault Domain/INITIALISATION/INITIAL CONDITIONS/STATIC PRESSURE'. CEL error: Error at position 4. The condition expression in 'if' statement is not logical valued. |
|
August 11, 2014, 19:51 |
|
#25 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144 |
inside() returns either 0 or 1. CFX is not quite smart enough to map that to boolean true or false for the conditional statement. So you can either use if(inside()@somewhere=1,309[bar],0[bar]) or even better =inside()@somewhere*309[bar]
|
|
Tags |
boundaries condition, cfx, inlet, outlet, valve simulation |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Using Outlet and Inlet Boundary Conditions | tylerplowright | CFX | 8 | January 28, 2014 18:22 |
Water subcooled boiling | Attesz | CFX | 7 | January 5, 2013 04:32 |
Terrible Mistake In Fluid Dynamics History | Abhi | Main CFD Forum | 12 | July 8, 2002 10:11 |
using outlet conditions as inlets for other model | George | Siemens | 1 | February 1, 2002 06:27 |
what the result is negatif pressure at inlet | chong chee nan | FLUENT | 0 | December 29, 2001 06:13 |