|
[Sponsors] |
June 28, 2021, 07:39 |
Pressure fixed value in OpenFoam
|
#1 |
New Member
Join Date: Jun 2021
Posts: 5
Rep Power: 5 |
Hello Everyone !!
I am coming to you because I need a little help to run a simulation on Openfoam. I am still new, so the question may seem silly. I want to run a simulation of a laminar flow in a circular pipe. But, I have an error message for the pressure boundary condition. I can not impose a fixed value for the pressure for any boundary. Here is the error message: " gradientInternalCoeffs cannot be called for a genericFvPatchField (actual type fixedvalue) on patch walls of field p in file "/root/localfolder/pipe/0/p" You are probably trying to solve for a field with a generic boundary condition. From function genericFvPatchField<Type>::gradientInternalCoeffs( ) const in file fields/fvPatchFields/basic/generic/genericFvPatchField.C at line 811. " I obtain exactly the same error for any boundary. Here is my 0/p file: Code:
dimensions [0 2 -2 0 0 0 0]; internalField uniform 0; boundaryField { inlet { type fixedvalue; value uniform 15; } outlet { type fixedvalue; value uniform 0; } walls { type zeroGradient; } side1 { type wedge; } side2 { type wedge; } } Can you help to understand the problem ? Thank you for helps, Best regards, |
|
June 28, 2021, 14:27 |
Check boundary condition for velocity
|
#2 |
Member
Rahul Vadrabade
Join Date: Apr 2018
Posts: 46
Rep Power: 8 |
Probably, the velocity boundary condition may not be correctly set with respect to pressure one. If possible can you share the U file boundary conditions.
|
|
June 29, 2021, 12:11 |
|
#3 |
New Member
Join Date: Jun 2021
Posts: 5
Rep Power: 5 |
You are right, there was a mistake in 0/U. Thanks you
|
|
Tags |
boundaries condition, openfoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Frequently Asked Questions about Installing OpenFOAM | wyldckat | OpenFOAM Installation | 3 | November 14, 2023 12:58 |
Wind tunnel Boundary Conditions in Fluent | metmet | FLUENT | 6 | October 30, 2019 13:23 |
Periodic flow using Cyclic - comparison with Fluent | nusivares | OpenFOAM Running, Solving & CFD | 30 | December 12, 2017 06:35 |
Neumann pressure BC and velocity field | Antech | Main CFD Forum | 0 | April 25, 2006 03:15 |
Hydrostatic pressure in 2-phase flow modeling (CFX4.2) | HB &DS | CFX | 0 | January 9, 2000 14:19 |