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

FanPressure Inlet

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 20, 2021, 10:17
Default FanPressure Inlet
  #1
New Member
 
Eduardo
Join Date: May 2021
Posts: 6
Rep Power: 5
Eduardo2904 is on a distinguished road
Hello,


I'm new here and with OpenFOAM and I would like If someone could help me because I'm trying to introduce a fanCurve in my inlet but I keep getting the error "keyword fanCurve is undefined in dictionary .../p/boundaryField/inlet" and I don't know why.


my fanCurve:


*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 7
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class IOobject;
location "constant";
object fanCurve;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
15
(
(0.00000 58.8399)
(0.368689 52.95591)
(0.737378 47.07192)
(1.106067 39.2266)
(1.474757 34.813608)
(1.843446 28.635418)
(2.212135 23.339827)
(2.580824 19.122968)
(2.949513 16.671305)
(3.318202 15.004175)
(3.686891 13.238978)
(4.055581 10.296983)
(4.424270 7.551121)
(4.792959 2.745862)
(4.977303 0)
);
// ************************************************** *********************** //



my p file:


/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 7
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0/region1";
object p;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

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

internalField uniform 0;

boundaryField
{
inlet
{
type fanPressure;
file "./constant/fanCurve";
outOfBounds clamp;
direction in;
p0 uniform 0;
value uniform 0;
}
outlet
{
type fixedValue;
value uniform 0;
}
".*"
{
type calculated;
value $internalField;
}
}

// ************************************************** *********************** //
Eduardo2904 is offline   Reply With Quote

Old   May 24, 2021, 09:15
Default
  #2
New Member
 
Eduardo
Join Date: May 2021
Posts: 6
Rep Power: 5
Eduardo2904 is on a distinguished road
Can someone help me please? It's kind of urgent.
Eduardo2904 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
setting the correct format of nonuniform List<vector> for inlet in 0 Folder cfdonline2mohsen OpenFOAM Running, Solving & CFD 8 July 18, 2019 09:03
Adjuting oulet pressure till inlet pressure reaches a certain value in timestep pvpnrao OpenFOAM Running, Solving & CFD 2 September 11, 2018 11:14
multiple inlet as one inlet amin_gls CFX 2 October 2, 2013 09:59
velocity inlet and ideal gas simultaneously-what's wrong? preetam69 FLUENT 0 September 28, 2013 05:51
Inlet Velocity in CFX aeroman CFX 12 August 6, 2009 19:42


All times are GMT -4. The time now is 00:14.