CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

Unknown patchfieldtype fixedFluxPressure for patch type patch

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 18, 2017, 10:32
Default Unknown patchfieldtype fixedFluxPressure for patch type patch
  #1
New Member
 
Join Date: May 2017
Posts: 1
Rep Power: 0
CFDLover9001 is on a distinguished road
Apologies if this is in the wrong subforum, I didn't know whether it belonged here or in the running/solving subforum.

I have a problem when I run the command interFoam. During its reading of my U file I get the following error: 'Unknown patchfieldtype fixedFluxPressure for patch type patch'. Along with that I get a list of patchfield types that are available. However I have no idea which of these I am supposted to choose instead.

I'm not really experienced with openFoam. What I want is to have an inlet where I can define a velocity(or velocity vector) for where a fluid comes in. From my understanding an inlet should be of type patch, and using http://www.openfoam.com/documentatio...conditions.php I gathered that fixedFluxPressure for the inlet seemed to be the fieldpatch type I wanted, but it appears I cannot have this.

Does anyone have an idea what fieldpatch type I should be using to be able to define an inlet velocity?

Here is the U file incase you want to see it. I'm attempting to modify the "tutorials/multiphase/interfoam/angleDuct" tutorial.

Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.3.x                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       volVectorField;
    object      U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

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

internalField   uniform (0 0 0);

boundaryField
{
    walls
    {
        type            fixedValue;
        value           uniform (0 0 0);
    }
    inlet
    {
        type            fixedFluxPressure;
        value           uniform (1 0 0);
    }
    outlet
    {
        type            pressureInletOutletVelocity;
        value           uniform (0 0 0);
        inletValue      uniform (0 0 0);
    }
}

// ************************************************************************* //
CFDLover9001 is offline   Reply With Quote

Reply


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
rhoPimpleFoam hardship petrus OpenFOAM Running, Solving & CFD 0 October 7, 2016 02:41
Modified pimpleFoam solver to MRFPimpleFoam solver hiuluom OpenFOAM Programming & Development 12 June 14, 2015 21:22
Possible Bug in pimpleFoam (or createPatch) (or fluent3DMeshToFoam) cfdonline2mohsen OpenFOAM 3 October 21, 2013 09:28
[GAMBIT] periodic faces not matching Aadhavan ANSYS Meshing & Geometry 6 August 31, 2013 11:25
compressible two phase flow in CFX4.4 youngan CFX 0 July 1, 2003 23:32


All times are GMT -4. The time now is 18:59.