|
[Sponsors] |
June 9, 2016, 10:15 |
control valve simulation problem setting
|
#1 |
Member
power
Join Date: Jun 2014
Posts: 86
Rep Power: 12 |
Hi all,
I'm a newbie in the use of OpenFOAM and I've just followed some basic tutorials. Now I have to solve a more important CFD problem. I have a control valve and I need to find its flow cofficient when I set a difference of pressure between inlet and output. In this case p is known at inlet and outlet, velocity is what I'm looking for. I imported my mesh model in openFOAM from Salome without problems. My douts and problems are how to set the simulation in simpleFoam. I'm using this solver because my flow is incompressible and turbolent. As boundary fields, they are inlet, outlet and wall. I'm following these criteria:
What else should I set? Turbolence parameters k and epsilon? To consider that velocity is unknown, and I can set it just as initial conditions and not as boundary conditions. The problem is that I don't understand where to set it in OpenFOAM. Which file I have to specify in initial and which I have to specify in boundary conditions? I'm a bit confused!! And what about the internalField parameter in each variable file in 0 directory? I have to set uniform for each properties? I hope you can help me. Thanks in advance!! |
|
June 10, 2016, 04:01 |
|
#2 |
Member
Joćo Ferreira
Join Date: Nov 2014
Location: Braga, Portugal
Posts: 53
Rep Power: 12 |
Hi,
I've never tried such setup, however it seems ok. The fields on 0/ folder are the initial conditions. If you define a boundary as fixedValue, for example, it won't change throughout the run. Although if you use a different type, the values on that boundary will be calculated by the solver. The internalField are all the cells of your mesh that there are not boundaries. The internal volume of your model. Is usually initialise as uniform. Hope it helps. |
|
June 10, 2016, 06:19 |
|
#3 |
Member
power
Join Date: Jun 2014
Posts: 86
Rep Power: 12 |
Thanks to answer!
Then, to sum up, using fixed value, I'm setting the boundary conditions (they will never change), others are as initial. That's right? Obviously internalField is about initial conditions, because I want to study what happens inside. And what about setting all other parameters for my specific problem: incompressible steady-flow with RAS turbolence model? I just need k and epsilon (plus p and U, obviously), I suppose. Why in 0 directory there are so many other files? Reading all around the web, I got that for k-epsilon turbolence model I need the variable p, U, epsilon, k, omega. Could I delete the other files with nut, nuTilda etc.? Then, I'm writing these setting apart from p and U already discussed above. I set for inlet, outlet and wall zeroGradient. Is it correct? Actually velocity is unknown, what I know is pressure. What could you suggest me? As internalField I set a value calculated considering an expected velocity in inlet and outside, even if inside is not the correct one, but I hope it will be useful to start the problem. By the way, omega is the vorticity? What is it exacly? In a fist simulation I get this error: Floating point exception (core dumped) What does it mean? How could i solve? Thanks again for who wants to help Last edited by enginpower; June 10, 2016 at 13:09. |
|
June 13, 2016, 08:30 |
|
#4 |
Member
power
Join Date: Jun 2014
Posts: 86
Rep Power: 12 |
I supposed the solver diverged.
So is there someone could just indicates which methods I should follow to determine initial condition for k, nut, omega etc... and other settings to balance with relaxation parameters, upwind and so on? Thanks |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Control Valve Flow Simulation | Ashraf Sharara | FLUENT | 1 | September 3, 2017 10:58 |
Simulation Water and Oil URGENT problem | alexandrelp | CFX | 3 | May 5, 2014 22:20 |
Gate valve flow simulations... | nikesh | FloEFD, FloWorks & FloTHERM | 5 | January 28, 2014 02:31 |
Large Valve Flow Analysis - Inflation Problem | sercan85 | ANSYS Meshing & Geometry | 2 | June 1, 2010 15:02 |
turbulent simulation pressure control valve | SimonH. | OpenFOAM | 9 | September 23, 2009 10:41 |