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

New boundary condition available

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   March 19, 2008, 06:54
Default Hello, We are pleased to an
  #1
Senior Member
 
Martin Beaudoin
Join Date: Mar 2009
Posts: 330
Rep Power: 13
mbeaudoin will become famous soon enough
Hello,

We are pleased to announce that the source code for a new boundary condition as been released on the openfoam-extend Subversion site on SourceForge.net.

The boundary condition profile1DfixedValue implements a cylindrical boundary condition field defined by a 1D fixed value profile (radial or vertical) for a typical RANS k-epsilon computation (eg. simpleFoam, turbFoam, etc). The profile data is read from a separate CSV (Comma Separated Value) file similar to files generated by Ansys CFX.

This boundary condition is available on openfoam-extend through a new library called OpenFoamTurbo.

That library will regroup many new developments made by the Turbomachinery Special Interest Group related to the application of OpenFOAM for TurboMachinery simulations.

The ERCOFTAC simulation case documented on the Wiki (namely Case0) is a good test case for playing with the new profile1DfixedValue BC.

The source code is documented extensively, and we plan to add some more documentation on the TurboWG section of the Wiki as we go.

See the following URL for more details:
http://openfoamwiki.net/index.php/Si...e_next_meeting

Here is the URL for downloading this new source code:

OpenFoamTurbo Library:
https://openfoam-extend.svn.sourceforge.net/svnroot/openfoam-extend/trunk/Breede r/OSIG/TurboMachinery/src/OpenFoamTurbo

Enjoy.

Martin Beaudoin, Hydro-Quebec - IREQ
Maryse Page, Hydro-Quebec - IREQ
Robert Magnan, Hydro-Quebec - IREQ
mbeaudoin is offline   Reply With Quote

Old   May 31, 2009, 10:55
Default
  #2
Senior Member
 
Fabian Braennstroem
Join Date: Mar 2009
Posts: 407
Rep Power: 10
braennstroem is on a distinguished road
Hi Hydro-Quebec-Team,

I have some trouble to compile the library. I get this error for version 1.5.x and 1.5-dev:

finiteVolume/fields/fvPatchFields/derived/rotatingTotalTemperature/rotatingTotal
TemperatureFvPatchScalarField.C:114: error: ‘UName’ was not declared in this sco
pe
finiteVolume/fields/fvPatchFields/derived/rotatingTotalTemperature/rotatingTotal
TemperatureFvPatchScalarField.C:117: error: no matching function for call to ‘Fo
am::rotatingTotalTemperatureFvPatchScalarField::up dateCoeffs(Foam::vectorField&)

/home/gcae504/OpenFOAM/OpenFOAM-1.5-dev/src/finiteVolume/lnInclude/totalTemperat
ureFvPatchScalarField.H:176: note: candidates are: virtual void Foam::totalTempe
ratureFvPatchScalarField::updateCoeffs()
make: *** [Make/linux64GccDPOpt/rotatingTotalTemperatureFvPatchScalarField.o] Er
ror 1
make: *** Waiting for unfinished jobs....

Does anyone have a suggestion, what I am missing!?

Regards!
Fabian
braennstroem is offline   Reply With Quote

Old   May 31, 2009, 11:28
Default
  #3
Senior Member
 
Håkan Nilsson
Join Date: Mar 2009
Location: Gothenburg, Sweden
Posts: 193
Rep Power: 8
hani is on a distinguished road
Hi Fabian,

The files you are having problem with was posted by boroli (Borm Oliver), not the Hydro-Quebec-Team (see the author at http://openfoam-extend.svn.sourcefor...ields/derived/). If you only want to use the profile1DFixedValue boundary condition, please check out revision 1167 of that library, using the command:
svn co -r 1167 https://openfoam-extend.svn.sourcefo...OpenFoamTurbo/
This revision is the one just before boroli added some stuff. Revision 1167 works nicely for me, but for the latest revision I get the same error as you do.

Oliver Borm, can you please make sure that your added files work so that people don't run into problems when compiling libOpenFOAMTurbo? Otherwise we must revert the library to 1167.

Håkan.
hani is offline   Reply With Quote

Old   May 31, 2009, 11:38
Default
  #4
Senior Member
 
Fabian Braennstroem
Join Date: Mar 2009
Posts: 407
Rep Power: 10
braennstroem is on a distinguished road
Thanks Hakan, it works.
Fabian
braennstroem is offline   Reply With Quote

Old   May 31, 2009, 14:09
Default
  #5
Senior Member
 
Martin Beaudoin
Join Date: Mar 2009
Posts: 330
Rep Power: 13
mbeaudoin will become famous soon enough
Hello Fabian,

Basically, Oliver Borm's BCs source code is dependant on a modification that Hrv introduce for Oliver at revision 1233.

So currently, in order to get libOpenFOAMTurbo to compile correctly, you either need to upgrade your 1.5-dev installation to at least revision 1233, or you need to follow Håkan's instructions and move your OpenFOAMTurbo version down to revision 1167.

And obviously, you need to stay at revision 1167 for your OpenFOAMTurbo package if you you want to compile for 1.5.x.

We are currently discussing on the best ways to address and prevent this kind of problems.

We try our best to keep OpenFOAMTurbo compatible with both 1.5-dev and 1.5.x releases. We will make the necessary adjustments.

Thank you for your patience.

Martin

Quote:
Originally Posted by braennstroem View Post
Thanks Hakan, it works.
Fabian
mbeaudoin is offline   Reply With Quote

Old   June 9, 2009, 15:32
Default
  #6
Senior Member
 
Håkan Nilsson
Join Date: Mar 2009
Location: Gothenburg, Sweden
Posts: 193
Rep Power: 8
hani is on a distinguished road
Hi,

The compilation of the additional boundary conditions by Oliver Borm has temporarily been disabled so that people won't run into compilation problems with libOpenFOAMTurbo.

Håkan.
hani is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Boundary condition for UDS Tomik FLUENT 0 December 5, 2006 18:37
Boundary condition of the third kind or Danckwertz boundary condition plage OpenFOAM Running, Solving & CFD 4 October 3, 2006 12:21
Slip Boundary Condition for Moving Boundary Shukla Main CFD Forum 3 November 11, 2005 16:02
UDF boundary condition Jeff FLUENT 2 November 20, 2003 18:15
Boundary Condition in LES Zhang Tsiang Main CFD Forum 3 February 5, 2002 21:15


All times are GMT -4. The time now is 07:39.