|
[Sponsors] |
April 8, 2014, 14:57 |
|
#21 |
New Member
Tom Brown
Join Date: Mar 2014
Posts: 27
Rep Power: 12 |
Ah, i realised fixBoundary is in the /case folder, going to chmod all the files in that folder and see if that fixes it
|
|
April 8, 2014, 15:05 |
|
#22 |
New Member
Tom Brown
Join Date: Mar 2014
Posts: 27
Rep Power: 12 |
After applying executable permissions to all files im pretty sure it all runs fine until the run case part.
After I run the case this is the terminal: Code:
/*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.2.2 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 2.2.2-9739c53ec43f Exec : pimpleDyMFoam -parallel Date : Apr 08 2014 Time : 19:00:28 Host : "tom-770Z5E-780Z5E" PID : 5790 Case : /home/tom/Desktop/cyclorotor/1 nProcs : 4 Slaves : 3 ( "tom-770Z5E-780Z5E.5791" "tom-770Z5E-780Z5E.5792" "tom-770Z5E-780Z5E.5793" ) Pstream initialized with: floatTransfer : 0 nProcsSimpleSum : 0 commsType : nonBlocking polling iterations : 0 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster allowSystemOperations : Disallowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create mesh for time = 0 Selecting dynamicFvMesh multiSolidBodyMotionFvMesh Selecting solid-body motion function rampedAxisRotationMotion Applying solid body motion rampedAxisRotationMotion to 1070 points of cellZone rotorVolume Selecting solid-body motion function cycloRamp Applying solid body motion cycloRamp to 0 points of cellZone bladeVolume0 Selecting solid-body motion function cycloRamp Applying solid body motion cycloRamp to 0 points of cellZone bladeVolume1 Selecting solid-body motion function cycloRamp Applying solid body motion cycloRamp to 0 points of cellZone bladeVolume2 Selecting solid-body motion function cycloRamp Applying solid body motion cycloRamp to 6896 points of cellZone bladeVolume3 Selecting solid-body motion function cycloRamp Applying solid body motion cycloRamp to 6890 points of cellZone bladeVolume4 Selecting solid-body motion function cycloRamp Applying solid body motion cycloRamp to 0 points of cellZone bladeVolume5 Reading field p Reading field U Reading/calculating face flux field phi AMI: Creating addressing and weights between 64 source faces and 64 target faces AMI: Patch source weights min/max/average = 1.00055, 1.00055, 1.00055 AMI: Patch target weights min/max/average = 1.00055, 1.00055, 1.00055 AMI: Creating addressing and weights between 64 source faces and 64 target faces AMI: Patch source weights min/max/average = 1.00055, 1.00056, 1.00055 AMI: Patch target weights min/max/average = 1.00055, 1.00055, 1.00055 AMI: Creating addressing and weights between 64 source faces and 64 target faces AMI: Patch source weights min/max/average = 1.00055, 1.00056, 1.00055 AMI: Patch target weights min/max/average = 1.00055, 1.00055, 1.00055 AMI: Creating addressing and weights between 64 source faces and 64 target faces AMI: Patch source weights min/max/average = 1.00055, 1.00055, 1.00055 AMI: Patch target weights min/max/average = 1.00055, 1.00055, 1.00055 AMI: Creating addressing and weights between 64 source faces and 64 target faces AMI: Patch source weights min/max/average = 1.00055, 1.00056, 1.00055 AMI: Patch target weights min/max/average = 1.00055, 1.00055, 1.00055 AMI: Creating addressing and weights between 64 source faces and 64 target faces AMI: Patch source weights min/max/average = 1.00055, 1.00056, 1.00055 AMI: Patch target weights min/max/average = 1.00055, 1.00055, 1.00055 AMI: Creating addressing and weights between 312 source faces and 312 target faces AMI: Patch source weights min/max/average = 1.00001, 1.00001, 1.00001 AMI: Patch target weights min/max/average = 1.00001, 1.00001, 1.00001 Selecting incompressible transport model Newtonian Selecting turbulence model type RASModel Selecting RAS turbulence model SpalartAllmaras SpalartAllmarasCoeffs { sigmaNut 0.66666; kappa 0.41; Cb1 0.1355; Cb2 0.622; Cw2 0.3; Cw3 2; Cv1 7.1; Cv2 5; } Reading field rAU if present No finite volume options present PIMPLE: Operating solver in PISO mode Starting time loop forces blade0: forces blades: forces shaft: forces rotor: Courant Number mean: 0 max: 0 deltaT = 0.2 Time = 0.2 solidBodyMotionFunctions::rampedAxisRotationMotion::transformation(): Time = 0.2 transformation: ((0 0 0) (0.999864 (0 0 0.0164673))) solidBodyMotionFunctions::cycloRamp::transformation(): Time = 0.2 transformation: ((-0.164971 0.212763 0) (0.280207 (0 0 0.95994))) solidBodyMotionFunctions::cycloRamp::transformation(): Time = 0.2 transformation: ((-0.297131 -0.0540086 0) (0.237848 (0 0 0.971302))) solidBodyMotionFunctions::cycloRamp::transformation(): Time = 0.2 transformation: ((-0.0222471 -0.0271189 0) (0.550852 (0 0 0.834603))) solidBodyMotionFunctions::cycloRamp::transformation(): Time = 0.2 transformation: ((0.00724851 0.26913 0) (0.825156 (0 0 0.564905))) solidBodyMotionFunctions::cycloRamp::transformation(): Time = 0.2 transformation: ((-0.250205 0.16912 0) (0.849131 (0 0 0.528182))) solidBodyMotionFunctions::cycloRamp::transformation(): Time = 0.2 transformation: ((-0.0245374 -0.0250656 0) (0.621851 (0 0 0.783136))) AMI: Creating addressing and weights between 64 source faces and 64 target faces [3] #0 Foam::error::printStack(Foam::Ostream&)[1] #0 Foam::error::printStack(Foam::Ostream&)[0] #0 Foam::error::printStack(Foam::Ostream&)[2] #0 Foam::error::printStack(Foam::Ostream&) in "/home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" [1] #1 Foam::sigFpe::sigHandler(int) in "/home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" [3] #1 Foam::sigFpe::sigHandler(int) in "/home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccD in "/home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/liPOpt/lib/libOpenFOAM.sbOpenFOAM.so" [0] #1 Foam::sigFpe::sigHandler(int)o" [2] #1 Foam::sigFpe::sigHandler(int) in "/home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" [3] #2 in "/home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" [1] #2 in "/lib/x86_64-linux-gnu/libc.so.6" [3] #3 Foam::boundBox::inflate(double) in "/lib/x86_64-linux-gnu/libc.so.6" [1] #3 Foam::boundBox::inflate(double) in "/home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" [2] #2 in "/home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" [0] #2 in "/home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" [3] #4 Foam::AMIInterpolation<Foam::PrimitivePatch<Foam::face, Foam::SubList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> >, Foam::PrimitivePatch<Foam::face, Foam::SubList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > >::checkPatches(Foam::PrimitivePatch<Foam::face, Foam::SubList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > const&, Foam::PrimitivePatch<Foam::face, Foam::SubList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > const&) const in "/lib/x86_64-linux-gnu/libc.so.6" [2] #3 Foam::boundBox::inflate(double) in "/home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" [1] #4 Foam::AMIInterpolation<Foam::PrimitivePatch<Foam::face, Foam::SubList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> >, Foam::PrimitivePatch<Foam::face, Foam::SubList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > >::checkPatches(Foam::PrimitivePatch<Foam::face, Foam::SubList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > const&, Foam::PrimitivePatch<Foam::face, Foam::SubList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > const&) const in "/lib/x86_64-linux-gnu/libc.so.6" [0] #3 Foam::boundBox::inflate(double) in "/home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libmeshTools.so" [3] #5 Foam::AMIInterpolation<Foam::PrimitivePatch<Foam::face, Foam::SubList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> >, Foam::PrimitivePatch<Foam::face, Foam::SubList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > >::update(Foam::PrimitivePatch<Foam::face, Foam::SubList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > const&, Foam::PrimitivePatch<Foam::face, Foam::SubList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > const&) in "/home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" [2] #4 Foam::AMIInterpolation<Foam::PrimitivePatch<Foam::face, Foam::SubList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> >, Foam::PrimitivePatch<Foam::face, Foam::SubList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > >::checkPatches(Foam::PrimitivePatch<Foam::face, Foam::SubList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > const&, Foam::PrimitivePatch<Foam::face, Foam::SubList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > const&) const in "/home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libmeshTools.so" [1] #5 Foam::AMIInterpolation<Foam::PrimitivePatch<Foam::face, Foam::SubList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> >, Foam::PrimitivePatch<Foam::face, Foam::SubList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > >::update(Foam::PrimitivePatch<Foam::face, Foam::SubList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > const&, Foam::PrimitivePatch<Foam::face, Foam::SubList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > const&) in "/home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libmeshTools.so" [3] #6 Foam::AMIInterpolation<Foam::PrimitivePatch<Foam::face, Foam::SubList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> >, Foam::PrimitivePatch<Foam::face, Foam::SubList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > >::AMIInterpolation(Foam::PrimitivePatch<Foam::face, Foam::SubList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > const&, Foam::PrimitivePatch<Foam::face, Foam::SubList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > const&, Foam::autoPtr<Foam::searchableSurface> const&, Foam::faceAreaIntersect::triangulationMode const&, bool, bool) in "/home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" [0] #4 Foam::AMIInterpolation<Foam::PrimitivePatch<Foam::face, Foam::SubList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> >, Foam::PrimitivePatch<Foam::face, Foam::SubList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > >::checkPatches(Foam::PrimitivePatch<Foam::face, Foam::SubList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > const&, Foam::PrimitivePatch<Foam::face, Foam::SubList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > const&) const in "/home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib in "/home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libmeshTools.so" [2] #5/libmeshTools.so" Foam::AMIInterpolation<Foam::PrimitivePatch<Foam::face, Foam::SubList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> >, Foam::PrimitivePatch<Foam::face, Foam::SubList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > >::update(Foam::PrimitivePatch<Foam::face, Foam::SubList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > const&, Foam::PrimitivePatch<Foam::face, Foam::SubList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > const&) [1] #6 Foam::AMIInterpolation<Foam::PrimitivePatch<Foam::face, Foam::SubList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> >, Foam::PrimitivePatch<Foam::face, Foam::SubList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > >::AMIInterpolation(Foam::PrimitivePatch<Foam::face, Foam::SubList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > const&, Foam::PrimitivePatch<Foam::face, Foam::SubList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > const&, Foam::autoPtr<Foam::searchableSurface> const&, Foam::faceAreaIntersect::triangulationMode const&, bool, bool) in "/home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libmeshTools.so" [0] #5 Foam::AMIInterpolation<Foam::PrimitivePatch<Foam::face, Foam::SubList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> >, Foam::PrimitivePatch<Foam::face, Foam::SubList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > >::update(Foam::PrimitivePatch<Foam::face, Foam::SubList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > const&, Foam::PrimitivePatch<Foam::face, Foam::SubList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > const&) in "/home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libmeshTools.so" [3] #7 Foam::cyclicAMIPolyPatch::resetAMI() const in "/home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libmeshTools.so" [2] #6 Foam::AMIInterpolation<Foam::PrimitivePatch<Foam::face, Foam::SubList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> >, Foam::PrimitivePatch<Foam::face, Foam::SubList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > >::AMIInterpolation(Foam::PrimitivePatch<Foam::face, Foam::SubList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > const&, Foam::PrimitivePatch<Foam::face, Foam::SubList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > const&, Foam::autoPtr<Foam::searchableSurface> const&, Foam::faceAreaIntersect::triangulationMode const&, bool, bool) in "/home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libmeshTools.so" [1] #7 Foam::cyclicAMIPolyPatch::resetAMI() const in "/home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libmeshTools.so" [3] #8 Foam::polyBoundaryMesh::movePoints(Foam::Field<Foam::Vector<double> > const&) in "/home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libmeshTools.so" [0] #6 Foam::AMIInterpolation<Foam::PrimitivePatch<Foam::face, Foam::SubList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> >, Foam::PrimitivePatch<Foam::face, Foam::SubList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > >::AMIInterpolation(Foam::PrimitivePatch<Foam::face, Foam::SubList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > const&, Foam::PrimitivePatch<Foam::face, Foam::SubList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > const&, Foam::autoPtr<Foam::searchableSurface> const&, Foam::faceAreaIntersect::triangulationMode const&, bool, bool) in "/home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libmeshTools.so" [2] #7 Foam::cyclicAMIPolyPatch::resetAMI() const in "/home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libmeshTools.so" [1] #8 Foam::polyBoundaryMesh::movePoints(Foam::Field<Foam::Vector<double> > const&) in "/home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libmeshTools.so" [0] #7 Foam::cyclicAMIPolyPatch::resetAMI() const in "/home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libmeshTools.so" [2] #8 Foam::polyBoundaryMesh::movePoints(Foam::Field<Foam::Vector<double> > const&) in "/home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" [1] #9 Foam::polyMesh::movePoints(Foam::Field<Foam::Vector<double> > const&) in "/home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" [3] #9 Foam::polyMesh::movePoints(Foam::Field<Foam::Vector<double> > const&) in "/home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libmeshTools.so" [0] #8 Foam::polyBoundaryMesh::movePoints(Foam::Field<Foam::Vector<double> > const&) in "/home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" [2] #9 Foam::polyMesh::movePoints(Foam::Field<Foam::Vector<double> > const&) in "/home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" [1] #10 Foam::fvMesh::movePoints(Foam::Field<Foam::Vector<double> > const&) in "/home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" [3] #10 Foam::fvMesh::movePoints(Foam::Field<Foam::Vector<double> > const&) in "/home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" [0] #9 Foam::polyMesh::movePoints(Foam::Field<Foam::Vector<double> > const&) in "/home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" [2] #10 Foam::fvMesh::movePoints(Foam::Field<Foam::Vector<double> > const&) in "/home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libfiniteVolume.so" [1] #11 Foam::multiSolidBodyMotionFvMesh::update() in "/home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" [0] #10 Foam::fvMesh::movePoints(Foam::Field<Foam::Vector<double> > const&) in "/home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libdynamicFvMesh.so" [1] #12 in "/home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libfiniteVolume.so" [3] #11 Foam::multiSolidBodyMotionFvMesh::update() in "/home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libfiniteVolume.so" [2] #11 Foam::multiSolidBodyMotionFvMesh::update()[1] in "/home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/bin/pimpleDyMFoam" [1] #13 __libc_start_main in "/home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libdynamicFvMesh.so" [2] #12 in "/home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libfiniteVolume.so" [0] #11 Foam::multiSolidBodyMotionFvMesh::update() in "/home/tom/OpenFOAM/OpenF in "/lib/x86_64-linux-gnu/libc.soOAM-2.2.2/platforms/li.6" [1] #14 nux64GccDPOpt/lib/libdynamicFvMesh.so" [3] #12 in "/home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libdynamicFvMesh.so" [0] #12 |
|
April 8, 2014, 15:06 |
|
#23 |
New Member
Tom Brown
Join Date: Mar 2014
Posts: 27
Rep Power: 12 |
And:
Code:
[2] in "/home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/bin/pimpleDyMFoam" [2] #13 __libc_start_main [1] in "/home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/bin/pimpleDyMFoam" [tom-770Z5E-780Z5E:05791] *** Process received signal *** [tom-770Z5E-780Z5E:05791] Signal: Floating point exception (8) [tom-770Z5E-780Z5E:05791] Signal code: (-6) [tom-770Z5E-780Z5E:05791] Failing at address: 0x169f [3] in "/home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/bin/pimpleDyMFoam" [3] #13 __libc_start_main[tom-770Z5E-780Z5E:05791] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x364a0) [0x7f44afa324a0] [tom-770Z5E-780Z5E:05791] [ 1] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x35) [0x7f44afa32425] [tom-770Z5E-780Z5E:05791] [ 2] /lib/x86_64-linux-gnu/libc.so.6(+0x364a0) [0x7f44afa324a0] [tom-770Z5E-780Z5E:05791] [ 3] /home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZN4Foam8boundBox7inflateEd+0x25) [0x7f44b0c6ddf5] [tom-770Z5E-780Z5E:05791] [ 4] /home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libmeshTools.so(_ZNK4Foam16AMIInterpolationINS_14PrimitivePatchINS_4faceENS_7SubListERKNS_5FieldINS_6VectorIdEEEES6_EESA_E12checkPatchesERKSA_SD_+0xcb) [0x7f44b3d4d51b] [tom-770Z5E-780Z5E:05791] [ 5] /home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libmeshTools.so(_ZN4Foam16AMIInterpolationINS_14PrimitivePatchINS_4faceENS_7SubListERKNS_5FieldINS_6VectorIdEEEES6_EESA_E6updateERKSA_SD_+0x5df) [0x7f44b3d5ec8f] [tom-770Z5E-780Z5E:05791] [ 6] /home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libmeshTools.so(_ZN4Foam16AMIInterpolationINS_14PrimitivePatchINS_4faceENS_7SubListERKNS_5FieldINS_6VectorIdEEEES6_EESA_EC1ERKSA_SD_RKNS_7autoPtrINS_17searchableSurfaceEEERKNS_17faceAreaIntersect17triangulationModeEbb+0xb40) [0x7f44b3d60230] [tom-770Z5E-780Z5E:05791] [ 7] /home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libmeshTools.so(_ZNK4Foam18cyclicAMIPolyPatch8resetAMIEv+0x624) [0x7f44b3d4ad14] [tom-770Z5E-780Z5E:05791] [ 8] /home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZN4Foam16polyBoundaryMesh10movePointsERKNS_5FieldINS_6VectorIdEEEE+0x19e) [0x7f44b0bc5aae] [tom-770Z5E-780Z5E:05791] [ 9] /home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZN4Foam8polyMesh10movePointsERKNS_5FieldINS_6VectorIdEEEE+0x1e7) [0x7f44b0c12d87] [tom-770Z5E-780Z5E:05791] [10] /home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libfiniteVolume.so(_ZN4Foam6fvMesh10movePointsERKNS_5FieldINS_6VectorIdEEEE+0xac) [0x7f44b1df2e2c] [tom-770Z5E-780Z5E:05791] [11] /home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libdynamicFvMesh.so(_ZN4Foam26multiSolidBodyMotionFvMesh6updateEv+0x2be) [0x7f44b48bce0e] [tom-770Z5E-780Z5E:05791] [12] pimpleDyMFoam() [0x41a4d4] [tom-770Z5E-780Z5E:05791] [13] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7f44afa1d76d] [tom-770Z5E-780Z5E:05791] [14] pimpleDyMFoam() [0x41ed1d] [tom-770Z5E-780Z5E:05791] *** End of error message *** in "/lib/x86_64-linux-gnu/libc.so.6" [2] #14 [0] in "/home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/bin/pimpleDyMFoam" [0] #13 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" [3] #14 in "/lib/x86_64-linux-gnu/libc.so.6" [0] #14 [2] in "/home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/bin/pimpleDyMFoam" [tom-770Z5E-780Z5E:05792] *** Process received signal *** [tom-770Z5E-780Z5E:05792] Signal: Floating point exception (8) [tom-770Z5E-780Z5E:05792] Signal code: (-6) [tom-770Z5E-780Z5E:05792] Failing at address: 0x16a0 [3] in "/home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/bin/pimpleDyMFoam" [tom-770Z5E-780Z5E:05793] *** Process received signal *** [tom-770Z5E-780Z5E:05793] Signal: Floating point exception (8) [tom-770Z5E-780Z5E:05793] Signal code: (-6) [tom-770Z5E-780Z5E:05793] Failing at address: 0x16a1 [tom-770Z5E-780Z5E:05792] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x364a0) [0x7f48c63004a0] [tom-770Z5E-780Z5E:05792] [ 1] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x35) [0x7f48c6300425] [tom-770Z5E-780Z5E:05792] [ 2] /lib/x86_64-linux-gnu/libc.so.6(+0x364a0) [0x7f48c63004a0] [tom-770Z5E-780Z5E:05792] [ 3] /home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZN4Foam8boundBox7inflateEd+0x25) [0x7f48c753bdf5] [tom-770Z5E-780Z5E:05792] [ 4] /home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libmeshTools.so(_ZNK4Foam16AMIInterpolationINS_14PrimitivePatchINS_4faceENS_7SubListERKNS_5FieldINS_6VectorIdEEEES6_EESA_E12checkPatchesERKSA_SD_+0xcb) [0x7f48ca61b51b] [tom-770Z5E-780Z5E:05792] [ 5] /home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libmeshTools.so(_ZN4Foam16AMIInterpolationINS_14PrimitivePatchINS_4faceENS_7SubListERKNS_5FieldINS_6VectorIdEEEES6_EESA_E6updateERKSA_SD_+0x5df) [0x7f48ca62cc8f] [tom-770Z5E-780Z5E:05792] [ 6] /home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libmeshTools.so(_ZN4Foam16AMIInterpolationINS_14PrimitivePatchINS_4faceENS_7SubListERKNS_5FieldINS_6VectorIdEEEES6_EESA_EC1ERKSA_SD_RKNS_7autoPtrINS_17searchableSurfaceEEERKNS_17faceAreaIntersect17triangulationModeEbb+0xb40) [0x7f48ca62e230] [tom-770Z5E-780Z5E:05792] [ 7] /home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libmeshTools.so(_ZNK4Foam18cyclicAMIPolyPatch8resetAMIEv+0x624) [0x7f48ca618d14] [tom-770Z5E-780Z5E:05792] [ 8] /home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZN4Foam16polyBoundaryMesh10movePointsERKNS_5FieldINS_6VectorIdEEEE+0x19e) [0x7f48c7493aae] [tom-770Z5E-780Z5E:05792] [ 9] /home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZN4Foam8polyMesh10movePointsERKNS_5FieldINS_6VectorIdEEEE+0x1e7) [0x7f48c74e0d87] [tom-770Z5E-780Z5E:05792] [10] /home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libfiniteVolume.so(_ZN4Foam6fvMesh10movePointsERKNS_5FieldINS_6VectorIdEEEE+0xac) [0x7f48c86c0e2c] [tom-770Z5E-780Z5E:05792] [11] /home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libdynamicFvMesh.so(_ZN4Foam26multiSolidBodyMotionFvMesh6updateEv+0x2be) [0x7f48cb18ae0e] [tom-770Z5E-780Z5E:05792] [12] pimpleDyMFoam() [0x41a4d4] [tom-770Z5E-780Z5E:05792] [13] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7f48c62eb76d] [tom-770Z5E-780Z5E:05792] [14] pimpleDyMFoam() [0x41ed1d] [tom-770Z5E-780Z5E:05792] *** End of error message *** [tom-770Z5E-780Z5E:05793] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x364a0) [0x7fc9d67954a0] [tom-770Z5E-780Z5E:05793] [ 1] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x35) [0x7fc9d6795425] [tom-770Z5E-780Z5E:05793] [ 2] /lib/x86_64-linux-gnu/libc.so.6(+0x364a0) [0x7fc9d67954a0] [tom-770Z5E-780Z5E:05793] [ 3] /home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZN4Foam8boundBox7inflateEd+0x25) [0x7fc9d79d0df5] [tom-770Z5E-780Z5E:05793] [ 4] /home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libmeshTools.so(_ZNK4Foam16AMIInterpolationINS_14PrimitivePatchINS_4faceENS_7SubListERKNS_5FieldINS_6VectorIdEEEES6_EESA_E12checkPatchesERKSA_SD_+0xcb) [0x7fc9daab051b] [tom-770Z5E-780Z5E:05793] [ 5] /home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libmeshTools.so(_ZN4Foam16AMIInterpolationINS_14PrimitivePatchINS_4faceENS_7SubListERKNS_5FieldINS_6VectorIdEEEES6_EESA_E6updateERKSA_SD_+0x5df) [0x7fc9daac1c8f] [tom-770Z5E-780Z5E:05793] [ 6] /home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libmeshTools.so(_ZN4Foam16AMIInterpolationINS_14PrimitivePatchINS_4faceENS_7SubListERKNS_5FieldINS_6VectorIdEEEES6_EESA_EC1ERKSA_SD_RKNS_7autoPtrINS_17searchableSurfaceEEERKNS_17faceAreaIntersect17triangulationModeEbb+0xb40) [0x7fc9daac3230] [tom-770Z5E-780Z5E:05793] [ 7] /home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libmeshTools.so(_ZNK4Foam18cyclicAMIPolyPatch8resetAMIEv+0x624) [0x7fc9daaadd14] [tom-770Z5E-780Z5E:05793] [ 8] /home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZN4Foam16polyBoundaryMesh10movePointsERKNS_5FieldINS_6VectorIdEEEE+0x19e) [0x7fc9d7928aae] [tom-770Z5E-780Z5E:05793] [ 9] /home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZN4Foam8polyMesh10movePointsERKNS_5FieldINS_6VectorIdEEEE+0x1e7) [0x7fc9d7975d87] [tom-770Z5E-780Z5E:05793] [10] /home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libfiniteVolume.so(_ZN4Foam6fvMesh10movePointsERKNS_5FieldINS_6VectorIdEEEE+0xac) [0x7fc9d8b55e2c] [tom-770Z5E-780Z5E:05793] [11] /home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libdynamicFvMesh.so(_ZN4Foam26multiSolidBodyMotionFvMesh6updateEv+0x2be) [0x7fc9db61fe0e] [tom-770Z5E-780Z5E:05793] [12] pimpleDyMFoam() [0x41a4d4] [tom-770Z5E-780Z5E:05793] [13] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7fc9d678076d] [tom-770Z5E-780Z5E:05793] [14] pimpleDyMFoam() [0x41ed1d] [tom-770Z5E-780Z5E:05793] *** End of error message *** [0] in "/home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/bin/pimpleDyMFoam" [tom-770Z5E-780Z5E:05790] *** Process received signal *** [tom-770Z5E-780Z5E:05790] Signal: Floating point exception (8) [tom-770Z5E-780Z5E:05790] Signal code: (-6) [tom-770Z5E-780Z5E:05790] Failing at address: 0x169e [tom-770Z5E-780Z5E:05790] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x364a0) [0x7f00995744a0] [tom-770Z5E-780Z5E:05790] [ 1] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x35) [0x7f0099574425] [tom-770Z5E-780Z5E:05790] [ 2] /lib/x86_64-linux-gnu/libc.so.6(+0x364a0) [0x7f00995744a0] [tom-770Z5E-780Z5E:05790] [ 3] /home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZN4Foam8boundBox7inflateEd+0x25) [0x7f009a7afdf5] [tom-770Z5E-780Z5E:05790] [ 4] /home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libmeshTools.so(_ZNK4Foam16AMIInterpolationINS_14PrimitivePatchINS_4faceENS_7SubListERKNS_5FieldINS_6VectorIdEEEES6_EESA_E12checkPatchesERKSA_SD_+0xcb) [0x7f009d88f51b] [tom-770Z5E-780Z5E:05790] [ 5] /home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libmeshTools.so(_ZN4Foam16AMIInterpolationINS_14PrimitivePatchINS_4faceENS_7SubListERKNS_5FieldINS_6VectorIdEEEES6_EESA_E6updateERKSA_SD_+0x5df) [0x7f009d8a0c8f] [tom-770Z5E-780Z5E:05790] [ 6] /home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libmeshTools.so(_ZN4Foam16AMIInterpolationINS_14PrimitivePatchINS_4faceENS_7SubListERKNS_5FieldINS_6VectorIdEEEES6_EESA_EC1ERKSA_SD_RKNS_7autoPtrINS_17searchableSurfaceEEERKNS_17faceAreaIntersect17triangulationModeEbb+0xb40) [0x7f009d8a2230] [tom-770Z5E-780Z5E:05790] [ 7] /home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libmeshTools.so(_ZNK4Foam18cyclicAMIPolyPatch8resetAMIEv+0x624) [0x7f009d88cd14] [tom-770Z5E-780Z5E:05790] [ 8] /home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZN4Foam16polyBoundaryMesh10movePointsERKNS_5FieldINS_6VectorIdEEEE+0x19e) [0x7f009a707aae] [tom-770Z5E-780Z5E:05790] [ 9] /home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZN4Foam8polyMesh10movePointsERKNS_5FieldINS_6VectorIdEEEE+0x1e7) [0x7f009a754d87] [tom-770Z5E-780Z5E:05790] [10] /home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libfiniteVolume.so(_ZN4Foam6fvMesh10movePointsERKNS_5FieldINS_6VectorIdEEEE+0xac) [0x7f009b934e2c] [tom-770Z5E-780Z5E:05790] [11] /home/tom/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libdynamicFvMesh.so(_ZN4Foam26multiSolidBodyMotionFvMesh6updateEv+0x2be) [0x7f009e3fee0e] [tom-770Z5E-780Z5E:05790] [12] pimpleDyMFoam() [0x41a4d4] [tom-770Z5E-780Z5E:05790] [13] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7f009955f76d] [tom-770Z5E-780Z5E:05790] [14] pimpleDyMFoam() [0x41ed1d] [tom-770Z5E-780Z5E:05790] *** End of error message *** -------------------------------------------------------------------------- mpirun noticed that process rank 1 with PID 5791 on node tom-770Z5E-780Z5E exited on signal 8 (Floating point exception). -------------------------------------------------------------------------- ./parallel: line 23: break: only meaningful in a `for', `while', or `until' loop |
|
April 8, 2014, 15:09 |
|
#24 |
Senior Member
Robert
Join Date: Sep 2010
Posts: 158
Rep Power: 16 |
Well, if you get errors in setting it up, there is no use running it.
Are you also new to Linux? If not, the errors should be pretty clear. You need to run 'chmod +x fixBoundary'. 'setup' is a script that uses other scripts. Those other scripts should be executable. |
|
April 8, 2014, 15:11 |
|
#25 |
Senior Member
Robert
Join Date: Sep 2010
Posts: 158
Rep Power: 16 |
Show all outputs when you run './setup casename'
|
|
April 8, 2014, 15:23 |
|
#26 |
Senior Member
Robert
Join Date: Sep 2010
Posts: 158
Rep Power: 16 |
I just downloaded my cylclorotor.zip file, 'chmod +x setup parallel case/enclosed case/fixBoundary case/bashMultiply', './parallel test', answered 'y' to run the simulation and it worked. So I am not sure what errors you are getting.
Are you sure the two custom libraries, rampedAxisRotationMotion and cycloRamp compiled successfully? You mentioned you are using the old mesh... try the new mesh. I got some warnings running the new mesh, but no errors. It will still work fine. |
|
April 8, 2014, 16:13 |
|
#27 |
New Member
Tom Brown
Join Date: Mar 2014
Posts: 27
Rep Power: 12 |
I figured that out right after posting haha. Ive done exactly what youve said and im getting a error:
mpirun noticed that process rank 2 with PID 8280 on node tom-770Z5E-780Z5E exited on signal 8 (Floating point exception). Would I be right in thinking this means somewhere in the code there is a divide by zero or some other mathematical error? |
|
April 8, 2014, 16:14 |
|
#28 |
New Member
Tom Brown
Join Date: Mar 2014
Posts: 27
Rep Power: 12 |
Is there any way you could paste your terminal output when you run ./parallel. And I can compare the correct output to mine.
It may help me figure out the exact point it goes wrong |
|
April 8, 2014, 16:42 |
|
#29 |
Senior Member
Robert
Join Date: Sep 2010
Posts: 158
Rep Power: 16 |
You should post your output from running './parallel test', where 'test' is the name of the new folder that is created that contains the files pertinent to your simulation. Please do not forget to specify it.
I don't know how it would help, but attached is my output to running './parallel test' (I quit the simulation with CTRL+C at the end, it did not abort by error). Note that in the beginning Gmsh complains of error, but its just GUI stuff. The mesh is still made. |
|
April 8, 2014, 17:01 |
|
#30 |
New Member
Tom Brown
Join Date: Mar 2014
Posts: 27
Rep Power: 12 |
Hi,
Ive compared logs and before running the case it seems like the mesh is slightly different. Im not sure why as I havn't done anything to it. If you look at the section 'Checking patch topology for multiply connected surfaces...' the points are slightly different in number, not much, but slightly off. After running the case the transformation of the cycloRamp functions: (solidBodyMotionFunctions::cycloRamp::transformati on(): Time = 0.2 transformation: ((-0.164971 0.212763 0) (0.280207 (0 0 0.95994)))) are all fine and the same, but the rampedAxisRotationMotion transformation above is different: Mine: solidBodyMotionFunctions::rampedAxisRotationMotion ::transformation(): Time = 0.2 transformation: ((0 0 0) (0.999864 (0 0 0.0164673))) Yours: solidBodyMotionFunctions::rampedAxisRotationMotion ::transformation(): Time = 0.2 transformation: ((0 0 0) (0.586916 (0 0 0.809648))) Could be where the number is so close to zero that it starts throwing up errors. All I can think of is that the rampedAxisRotationMotion you have on github is a slightly older version of the one you are running. Could that be the case? If so, I think this could be the final piece in the puzzle Tom |
|
April 8, 2014, 17:33 |
|
#31 |
Senior Member
Robert
Join Date: Sep 2010
Posts: 158
Rep Power: 16 |
Can you go into your newly named folder and run 'moveDynamicMesh'?
This will move the mesh, but will not solve for anything. Thus, you can see if there is a mismatch of the predicted motions of the blade volumes and the main rotor volume. You can view the locations of the meshes at the latest timestep with 'paraFoam' |
|
April 8, 2014, 17:41 |
|
#32 |
Senior Member
Robert
Join Date: Sep 2010
Posts: 158
Rep Power: 16 |
Hmmm, I checked the github source and the units on the two custom codes seem to be consistent. But we'll see your result.
|
|
April 8, 2014, 17:52 |
|
#33 |
Senior Member
Robert
Join Date: Sep 2010
Posts: 158
Rep Power: 16 |
Actually they are not consistent. I think you solved it. I made a change to the github files for rampedAxisRotationMotion.C. All I did was delete the degToRad() conversions.
Please redownload and recompile rampedAxisRotationMotion. I bet it will work this time. |
|
April 8, 2014, 17:59 |
|
#34 |
New Member
Tom Brown
Join Date: Mar 2014
Posts: 27
Rep Power: 12 |
I get the error:
--> FOAM FATAL ERROR: Unable to find initial target face From function void Foam::AMIInterpolation<SourcePatch, TargetPatch>::calcAddressing(const SourcePatch&, const TargetPatch&, label, label) in file lnInclude/AMIInterpolation.C at line 725. FOAM aborting Full log in attached |
|
April 8, 2014, 18:02 |
|
#35 |
Senior Member
Robert
Join Date: Sep 2010
Posts: 158
Rep Power: 16 |
Can you please look at my last posts? You brought attention to an inconsistency in rampedAxisRotationMotion that I fixed.
|
|
April 8, 2014, 18:21 |
|
#36 |
New Member
Tom Brown
Join Date: Mar 2014
Posts: 27
Rep Power: 12 |
HUZZAH!!!!! Its currently solving, i make that a productive evening. Ill let you know if I run into any problems, but at the moment its all flowing nicely. Once the code finishes is it just a case of typing 'paraFoam' to do the post processing stuff?
Thank you so much for all this, its very much appreciated |
|
April 8, 2014, 18:23 |
|
#37 |
New Member
Tom Brown
Join Date: Mar 2014
Posts: 27
Rep Power: 12 |
Out of interest, how long does the code take to run on your PC?
|
|
April 8, 2014, 18:34 |
|
#38 |
Senior Member
Robert
Join Date: Sep 2010
Posts: 158
Rep Power: 16 |
Awesome!
Yes, once you want to view the results, 'paraFoam' will bring up a GUI, in which you can view the p and U fields, surface distributions, etc. It is pretty straightforward to use and there are a lot of good tutorials out there. Keep in my mind you need to specify the frequency of writing out the results to be viewed. This is controlled in controlDict. The simulation does not take long at all; should be about a few hours. BUT, the run time is highly variable according to the size of the mesh and the maximum Courant number. I think a high Courant number is set in the case files (30?), and the Courant number used in my validation runs was 2 (more accurate, smaller time step, higher overall run time). So in the beginning of the simulation, you may want to use the high Courant number, and when the force results settle, you can change it to a lower Courant number. You can simply change this in controlDict while the case is still running. On my computer (i7-2700 processor) it ran in a few hours, I think. I ran these back in November last year, so I don't remember exactly, but I know it never took more than a day. Oh, and since this simulation is run in parallel, you should run 'reconstructPar -latestTime' before you view the latest time step in paraFoam. Also, inside the 'parallel' script you should see that I specified it to run on 4 cores. If you want to use a different number, you should change this. To view forces, 'chmod +x f' and run the file named f. If you changed the mesh or operating parameters, you should change them accordingly in the variables at the top of the 'f' script. |
|
April 8, 2014, 20:30 |
|
#39 |
New Member
Tom Brown
Join Date: Mar 2014
Posts: 27
Rep Power: 12 |
This is absolutely incredible. Thank so much.
Couple of things, in paraFoam, it only seems to give me two steps, 0 is 0s and 1 is 10s. there doesnt seem to be any inbetween. I can use the 10s mark to be my steady state forces, which is perfect, jsut wondering if I can get inbetween states, for animations etc. Also, If I were to edit the mesh to make it more like my system, from what I can see: Change chord length is /mesh/blades/0_inputs.geo, Change bladeShord Change max and min pitch is maxPitch, minPitch in /rotor rotor radius to smaller is rotorRadius in /rotor blade count down to 4 is bladeCount in /rotor. Then check mesh etc and run again? Then to change the rotational speed where would I go? Or would changing these things in the mesh then mean I would need to change a load of files in the /case directory, like the dynamiMeshDict |
|
April 8, 2014, 21:07 |
|
#40 |
Senior Member
Robert
Join Date: Sep 2010
Posts: 158
Rep Power: 16 |
If you look in processor0, processor1, etc. you will see the time steps available that were written (the frequency of writing is in controlDict). If you want all of these timesteps, do 'reconstructPar' and it will reconstruct from the decomposed processor0,etc. parts and thus make it available to paraView (it used to be able to read decomposed timesteps directly, but now it does not for some reason; you have to reconstruct them first).
Any changes you make in the mesh and geometry can be immediately viewed by opening main.geo in Gmsh. All those parameters are easily changeable in the corresponding 0_inputs.geo files. But changing the number of blades requires a little more editing. Since you want less blades, you will have to manually comment out the parts in main.geo that specify bladeVolume4 and bladeVolume5, since they will no longer exist (For every blade there is a corresponding blade volume). In the case files, you will have to edit dynamicMeshDict. In it, you can see that variables for each blade volume is specified. The custom function needs to know the initial location of the blade, its radial distance from the center of the rotor, and the initial and final rotation speeds in order to calculate each blade volume's center of pitching. Comment out bladeVolumes 4 and 5, then change phi_ to 0,90,180,270 for bladeVolumes 0,1,2, and 3, respectively. ALL other variables have to be the same for EVERY blade volume. And: radialVelocityf = OMEGAF, radialVelocity0 = OMEGA0, t0 = T0, tf = TF, CofG = COFR. When you change the radius in the geometry/mesh, you also have to change it here for all blade volumes. Here is also where you change the rotational speeds. Finally, the parameter changes have to be taken into account into the 'f' file. Change the rotation speed accordingly. Note that the power figure will not be correctly computed during the ramp-up phase, as the rotation speed is actually less than what is input during this period. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
something wrong when compiling udf, however the code is correct when interpreting | richard ben | Fluent UDF and Scheme Programming | 7 | May 11, 2013 08:36 |
problem with compiling the source code | michel1988 | OpenFOAM Installation | 1 | April 17, 2013 18:19 |
The FOAM Documentation Project - SHUT-DOWN | holger_marschall | OpenFOAM | 242 | March 7, 2013 13:30 |
Small 3-D code | Zdravko Stojanovic | Main CFD Forum | 2 | July 19, 2010 11:11 |
Newbie compiling source code for debugging | unoder | OpenFOAM Running, Solving & CFD | 8 | August 24, 2006 02:41 |