Mixing plane implementation - where to start?
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.
To be concrete, have a look at
(don't know how up to date this stuff is, but the TurboMachinery-guys may be able to help you here)
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,
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
Please help me with this...Thanks in advance
> 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 theNot all versions of OpenFOAM are interchangeable...
I've never worked with that stuff so apart from that I can give you no advice
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???
|All times are GMT -4. The time now is 19:52.|