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

Fan Pressure BC

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 30, 2015, 15:37
Default Fan Pressure BC
  #1
New Member
 
daniel
Join Date: Jun 2015
Posts: 22
Rep Power: 10
leinad is on a distinguished road
Hello

I was hoping some one can help me out, i am trying to simulate a fan in a fluid domain see picture.
I have looked at the TjunctionFan example and as i understand it the fan has to be defined as a cyclic boundary condition.
In my case I am importing a mesh from fluent, does the createbaffles and toposet still apply in this case.
And if so how to i apply it to my model i have both ends of the fan defined as a patch
currently.
Attached Images
File Type: jpg Screenshot from 2015-07-30 19:48:25.jpg (89.1 KB, 94 views)
leinad is offline   Reply With Quote

Old   July 31, 2015, 12:39
Default
  #2
New Member
 
daniel
Join Date: Jun 2015
Posts: 22
Rep Power: 10
leinad is on a distinguished road
Ok so i am trying to make this work i have used Helyx for the initial set up, I then attempted to add in the fanPressure BC but i get the following error

Quote:
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.1 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.3.1-bcfaaa7b8660
Exec : simpleFoam
Date : Jul 31 2015
Time : 17:21:22
Host : "oneab-300E4C-300E5C-300E7C"
PID : 4292
Case : /home/daniel/Desktop/RUN/JetFan
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Allowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 0

Reading field p


/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.1 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.3.1-bcfaaa7b8660
Exec : simpleFoam
Date : Jul 31 2015
Time : 17:21:22
Host : "oneab-300E4C-300E5C-300E7C"
PID : 4292
Case : /home/daniel/Desktop/RUN/JetFan
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Allowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 0

Reading field p



--> FOAM FATAL IO ERROR:
inconsistent patch and patchField types for
patch type cyclic and patchField type fanPressure

file: /home/daniel/Desktop/RUN/JetFan/0/p.boundaryField.jtf_inlet from line 27 to line 32.

From function fvPatchField<Type>::New(const fvPatch&, const DimensionedField<Type, volMesh>&, const dictionary&)
in file /home/openfoam/OpenFOAM/OpenFOAM-2.3.1/src/finiteVolume/lnInclude/fvPatchFieldNew.C at line 172.

FOAM exiting

--> FOAM FATAL IO ERROR:
inconsistent patch and patchField types for
patch type cyclic and patchField type fanPressure

file: /home/daniel/Desktop/RUN/JetFan/0/p.boundaryField.jtf_inlet from line 27 to line 32.

From function fvPatchField<Type>::New(const fvPatch&, const DimensionedField<Type, volMesh>&, const dictionary&)
in file /home/openfoam/OpenFOAM/OpenFOAM-2.3.1/src/finiteVolume/lnInclude/fvPatchFieldNew.C at line 172.

FOAM exiting
any one got an idea why i am getting this error. http://we.tl/1CKT9Rwh0m(case folder)
leinad is offline   Reply With Quote

Old   August 26, 2015, 09:03
Default
  #3
Senior Member
 
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0
chegdan will become famous soon enoughchegdan will become famous soon enough
I just noticed this one out there but I'm sure it's answered already. the fanPressure BC is actually derived from patch and not from cyclic. The error that you are seeing basically states that your base type defined in constant/polyMesh/boundary for jtf_inlet needs to be changed from cyclic to type patch. Then you can setup the fanPressure bc.
chegdan 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
Pressure drop using Fan type BC Alexis Sack OpenFOAM Running, Solving & CFD 2 September 22, 2014 09:18
Pressure condition in fan simulation ayothicfd Main CFD Forum 0 April 16, 2012 22:30
Negative Pressure in fan modelling Jenny CFX 3 September 30, 2007 08:47
Neumann pressure BC and velocity field Antech Main CFD Forum 0 April 25, 2006 02:15
what the result is negatif pressure at inlet chong chee nan FLUENT 0 December 29, 2001 05:13


All times are GMT -4. The time now is 15:03.