CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

bounadry conditions on p_pgh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 30, 2019, 10:17
Talking bounadry conditions on p_pgh
  #1
New Member
 
Bagya Vivekanandhan
Join Date: Sep 2019
Posts: 4
Rep Power: 6
bagya vivekanandhan is on a distinguished road
hi,
I am trying to run a overInterDymFoam case and i have set up the required boundary conditions for the p_rgh file. but the solver shows an error that the patchtype and the type are inconsistent for the sides.
any suggestions or advice regarding this would be appreciated. below is the file of p_rgh.
THE ERROR BEING DISPLAYED IS :
inconsistent patch and patchField types for
patch type overset and patchField type fixedFluxPressure

file: /home/utente/Scrivania/Bagya/mycase/floatingBody/background/0/p_rgh.boundaryField.sides

From function static Foam::tmp<Foam::fvPatchField<Type> > Foam::fvPatchField<Type>::New(const Foam::fvPatch&, const Foam:imensionedField<Type, Foam::volMesh>&, const Foam::dictionary&) [with Type = double]
in file /home/utente/OpenFOAM/OpenFOAM-v1812/src/finiteVolume/lnInclude/fvPatchFieldNew.C at line 148.

FOAM exiting


thanks in advance.



FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object p_rgh;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [1 -1 -2 0 0 0 0];

internalField uniform 0;

boundaryField
{
inlet
{
type fixedFluxPressure;
value uniform 0;
}
outlet
{
type fixedFluxPressure;
value uniform 0;
}
ground
{
type fixedFluxPressure;
value uniform 0;
}
walls
{
type fixedFluxPressure;
value uniform 0;
}
atmosphere
{
type totalPressure;
p0 uniform 0;
U U;
phi phi;
rho rho;
psi none;
gamma 1;
value uniform 0;
}
floatingObject
{
type fixedFluxPressure;
}
overset
{
type overset;
}
sides
{
pathcType overset;
type fixedValue;
}
}

// ************************************************** *********************** //
bagya vivekanandhan is offline   Reply With Quote

Old   October 1, 2019, 08:02
Default
  #2
Member
 
Piotr Ładyński
Join Date: Apr 2017
Posts: 55
Rep Power: 9
piotr.mecht is on a distinguished road
Quote:
Originally Posted by bagya vivekanandhan View Post
sides
{
pathcType overset;
type fixedValue;
}

patchType typo maybe?
piotr.mecht is offline   Reply With Quote

Old   November 21, 2019, 15:02
Default
  #3
New Member
 
Bagya Vivekanandhan
Join Date: Sep 2019
Posts: 4
Rep Power: 6
bagya vivekanandhan is on a distinguished road
Thanks for your time and reply @piotr.mecht. I got it solved. yes, it was the PatchType error.
bagya vivekanandhan is offline   Reply With Quote

Reply

Tags
p_gh ?


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
non reflective boundary conditions for incompresible flow Pascal_doran OpenFOAM Programming & Development 16 August 25, 2015 05:35
Implementation of boundary conditions for FVM Tom Main CFD Forum 7 August 26, 2014 05:58
Question about heat transfer coefficient setting for CFX Anna Tian CFX 1 June 16, 2013 06:28
Update boundary conditions calculated by an external program CedricVH OpenFOAM 2 January 15, 2010 11:55
Boundary conditions? Tom Main CFD Forum 0 November 5, 2002 01:54


All times are GMT -4. The time now is 17:29.