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

Mixing plane implementation - where to start?

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 10, 2010, 04:31
Default Mixing plane implementation - where to start?
  #1
New Member
 
Jiri Simonek
Join Date: Apr 2010
Location: Prague, Czech Rep.
Posts: 1
Rep Power: 0
jirka.simonek@gmail.com is on a distinguished road
Hello,
I would like to try to implement mixing plane model/boundary condition.
Does anyone have some recommendation where to start? I mean, which files/applications/libraries can be useful to reuse. Should it be implemented on level of solver or boundary condition?
Thank you in advance.
jirka.simonek@gmail.com is offline   Reply With Quote

Old   June 10, 2010, 05:28
Default
  #2
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by jirka.simonek@gmail.com View Post
Hello,
I would like to try to implement mixing plane model/boundary condition.
Does anyone have some recommendation where to start? I mean, which files/applications/libraries can be useful to reuse. Should it be implemented on level of solver or boundary condition?
Thank you in advance.
I think there is already some stuff being done on that http://tinyurl.com/36p6dfx

To be concrete, have a look at
https://openfoam-extend.svn.sourcefo...torInterfaces/
(don't know how up to date this stuff is, but the TurboMachinery-guys may be able to help you here)

Bernhard
gschaider is offline   Reply With Quote

Old   February 16, 2012, 11:07
Default
  #3
New Member
 
Vishnu Hariprasad
Join Date: Jan 2012
Posts: 5
Rep Power: 14
vishnuhp444 is on a distinguished road
Hi....I am currently doing the Openfoam validation procedure using NASA Stage 35.....I have been asked to use mixing plane approach at the rotor-stator interface.....I have Opanfoam-2.0.0 version in my cluster......I try to dynamically link the mixing plane library available in the OpenFOAM-ext version as given in https://openfoam-extend.svn.sourcefo...torInterfaces/

I followed everything that is given in CompilingHowTO.txt... But, I get an error like this.....

[haripras2@hpclogin2 rotorStatorInterfaces]$ wmake libso
wmakeLnInclude: linking include files to ./lnInclude
ln: creating symbolic link `./primitiveAuxPatch.H' to `../mixingPlane/primitiveMixingPlanePatch/primitiveAuxPatch.H': File exists
SOURCE=GGIInterpolation/GGIInterpolationName.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/usr/local/OpenFOAM/OpenFOAM-2.0.0/src/OpenFOAM/lnInclude -I/usr/local/OpenFOAM/OpenFOAM-2.0.0/src/finiteVolume/lnInclude -I/usr/local/OpenFOAM/OpenFOAM-2.0.0/src/meshTools/lnInclude -I/usr/local/OpenFOAM/OpenFOAM-2.0.0/src/dynamicMesh/lnInclude -I./ -I./primitiveRotationalPatch -I./GGIinterpolation -IlnInclude -I. -I/usr/local/OpenFOAM/OpenFOAM-2.0.0/src/OpenFOAM/lnInclude -I/usr/local/OpenFOAM/OpenFOAM-2.0.0/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/GGIInterpolationName.o
In file included from GGIInterpolation/GGIInterpolation.C:220,
from GGIInterpolation/GGIInterpolation.H:450,
from GGIInterpolation/GGIInterpolationName.C:36:
GGIInterpolation/GGIInterpolationPolygonIntersection.C:37:28: error: HormannAgathos.H: No such file or directory
GGIInterpolation/GGIInterpolationPolygonIntersection.C:40:31: error: SutherlandHodgman.H: No such file or directory
GGIInterpolation/GGIInterpolationPolygonIntersection.C: In member function âtypename Foam::GGIInterpolation<MasterPatch, SlavePatch>::insideOutside Foam::GGIInterpolation<MasterPatch, SlavePatch>::isVertexInsidePolygon(const Foam::List<Foam::Vector2D<double> >&, const Foam::List<Foam::Vector2D<double> >&, Foam::List<bool>&) constâ:
GGIInterpolation/GGIInterpolationPolygonIntersection.C:238: error: âHormannAgathosâ was not declared in this scope
GGIInterpolation/GGIInterpolationPolygonIntersection.C:238: error: expected `;' before âpipâ
GGIInterpolation/GGIInterpolationPolygonIntersection.C:247: error: âpipâ was not declared in this scope
GGIInterpolation/GGIInterpolationPolygonIntersection.C:249: error: âHormannAgathosâ is not a class or namespace
GGIInterpolation/GGIInterpolationPolygonIntersection.C:253: error: âHormannAgathosâ is not a class or namespace
GGIInterpolation/GGIInterpolationPolygonIntersection.C:254: error: âHormannAgathosâ is not a class or namespace
GGIInterpolation/GGIInterpolationPolygonIntersection.C:255: error: âHormannAgathosâ is not a class or namespace
GGIInterpolation/GGIInterpolationPolygonIntersection.C: In member function âFoam::List<Foam::Vector2D<double> > Foam::GGIInterpolation<MasterPatch, SlavePatch>::clipPolygon2DSutherlandHodgman(const Foam::List<Foam::Vector2D<double> >&, const Foam::List<Foam::Vector2D<double> >&) constâ:
GGIInterpolation/GGIInterpolationPolygonIntersection.C:308: error: there are no arguments to âSutherlandHodgmanâ that depend on a template parameter, so a declaration of âSutherlandHodgmanâ must be available
GGIInterpolation/GGIInterpolationPolygonIntersection.C:308: error: (if you use â-fpermissiveâ, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
GGIInterpolation/GGIInterpolationQuickRejectTests.C: In member function âvoid Foam::GGIInterpolation<MasterPatch, SlavePatch>::findNeighboursAABB(Foam::labelListLis t&) constâ:
GGIInterpolation/GGIInterpolationQuickRejectTests.C:361: error: âclass Foam::boundBoxâ has no member named âintersectsâ
GGIInterpolation/GGIInterpolationWeights.C: At global scope:
GGIInterpolation/GGIInterpolationWeights.C:54: error: âtolerancesâ is not a member of âFoam::debugâ
GGIInterpolation/GGIInterpolationWeights.C:61: error: âtolerancesâ is not a member of âFoam::debugâ
make: *** [Make/linux64GccDPOpt/GGIInterpolationName.o] Error 1
vishnuhp444 is offline   Reply With Quote

Old   February 16, 2012, 11:08
Default
  #4
New Member
 
Vishnu Hariprasad
Join Date: Jan 2012
Posts: 5
Rep Power: 14
vishnuhp444 is on a distinguished road
Please help me with this...Thanks in advance

Vishnu Hariprasad
vishnuhp444 is offline   Reply With Quote

Old   February 16, 2012, 18:08
Default
  #5
Senior Member
 
Martin Beaudoin
Join Date: Mar 2009
Posts: 332
Rep Power: 22
mbeaudoin will become famous soon enough
> I followed everything that is given in CompilingHowTO.txt... But, I get an error like this.....

I guess you skipped the most important piece of information from the first paragraph from CompilingHowTO.txt....
To compile the rotorStatorInterfaces library one has to use either the
1.4.1-dev or the 1.4.1
with linking additionally the GGIinterpolation files
from the development version.
Not all versions of OpenFOAM are interchangeable...

Martin
mbeaudoin is offline   Reply With Quote

Old   February 16, 2012, 18:09
Default
  #6
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by vishnuhp444 View Post
Hi....I am currently doing the Openfoam validation procedure using NASA Stage 35.....I have been asked to use mixing plane approach at the rotor-stator interface.....I have Opanfoam-2.0.0 version in my cluster......I try to dynamically link the mixing plane library available in the OpenFOAM-ext version as given in https://openfoam-extend.svn.sourcefo...torInterfaces/

I followed everything that is given in CompilingHowTO.txt... But, I get an error like this.....
The CompilingHowTo says "1.4.1-dev or ...". Don't want to discourage you but I think what you're seeing is only the beginning of the technical difficulties you're going to experience (the version with which this development is compatible is VERY old and there are other matters ...)

I've never worked with that stuff so apart from that I can give you no advice
gschaider is offline   Reply With Quote

Old   February 17, 2012, 00:54
Default
  #7
New Member
 
Vishnu Hariprasad
Join Date: Jan 2012
Posts: 5
Rep Power: 14
vishnuhp444 is on a distinguished road
Thank you so much for your replies.....Yes I did see the 1.4.1-dev or the 1.4.1.....I didn't know about the interchangable issue......btw, is there any other way of implementing 'mixing plane' model....because I am not very good at C++ coding....I read about the new feature AMI....Is it possible to implement AMI in that???
vishnuhp444 is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Gmsh] Problem with Gmsh nishant_hull OpenFOAM Meshing & Mesh Conversion 23 August 5, 2015 03:09
How to setup mixing plane interface in STAR-CCM+ mrjonezz STAR-CCM+ 3 July 8, 2015 12:51
Turbine stage mixing plane calculation Knut FLUENT 0 December 4, 2007 13:46
Mixing Plane Lee FLUENT 0 August 8, 2003 23:36
Mixing plane geometry definition Hbet FLUENT 0 January 18, 2002 08:16


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