|
[Sponsors] |
[solids4Foam] Missing interpolate(sigma0) in fvSchemes in some tutorials |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 20, 2023, 03:46 |
Missing interpolate(sigma0) in fvSchemes in some tutorials
|
#1 |
Senior Member
Join Date: Oct 2017
Posts: 131
Rep Power: 9 |
Hi,
I have installed solids4foam v2.0 from source in combination with OpenFOAM-v2012. I did not install the dependencies. No build errors were reported. However with ./Alltest the following 16 tutorials fail: Code:
Application solids4Foam - case flexibleDamBreak: ** FOAM FATAL ERROR ** Application solids4Foam - case oneWayCavity: ** FOAM FATAL ERROR ** Application solids4Foam - case perpendicularFlap: ** FOAM FATAL ERROR ** Application solids4Foam - case linearElasticity/cantilever2d/explicitCantilever2d: ** FOAM FATAL ERROR ** Application solids4Foam - case linearElasticity/cantilever2d/segregatedCantilever2d: ** FOAM FATAL ERROR ** Application solids4Foam - case linearElasticity/cantilever2d/vertexCentredCantilever2d: ** FOAM FATAL ERROR ** Application solids4Foam - case linearElasticity/patchTest: ** FOAM FATAL ERROR ** Application solids4Foam - case linearElasticity/plateHole: ** FOAM FATAL ERROR ** Application solids4Foam - case linearElasticity/plateWithFixedInternalCells: ** FOAM FATAL ERROR ** Application solids4Foam - case linearElasticity/punch: ** FOAM FATAL ERROR ** Application solids4Foam - case linearElasticity/rigidCylinderContactBrick: ** FOAM FATAL ERROR ** Application solids4Foam - case linearElasticity/slidingFrictionBall: ** FOAM FATAL ERROR ** Application solids4Foam - case linearElasticity/wobblyNewton: ** FOAM FATAL ERROR ** Application solids4Foam - case thermoelasticity/hotCylinder/hotCylinder: ** FOAM FATAL ERROR ** Application solids4Foam - case thermoelasticity/hotCylinder/hotCylinderPredefinedTFieldMultipleMaterials: ** FOAM FATAL ERROR ** Application solids4Foam - case thermoelasticity/hotSphere: ** FOAM FATAL ERROR ** Did something go wrong during the installation or is this entry missing in the tutorials? I almost can't imagine the latter, as it would surely have been noticed already.... Thanks! |
|
April 26, 2023, 05:01 |
|
#2 |
Senior Member
Join Date: Oct 2017
Posts: 131
Rep Power: 9 |
I just tried it with the development version (last commit: 70e7f9e). There the addition of 'interpolate(sigma0)' in fvSchemes is not necessary.
|
|
June 14, 2023, 07:03 |
Tutorial Test Error
|
#3 |
New Member
Sokvisal MOM
Join Date: Jun 2023
Posts: 3
Rep Power: 3 |
Hi,
I do have the same problem when running the ./Alltest command. At the end of log.Alltest file, it includes the summary statistics below: Code:
Summary statistics Number of cases where a run was attempted: 48 Number of cases where the solver failed: 16 Number of cases where another command failed: 1 The solids4Foam solver failed in the following cases: Application solids4Foam - case flexibleDamBreak: ** FOAM FATAL ERROR ** Application solids4Foam - case oneWayCavity: ** FOAM FATAL ERROR ** Application solids4Foam - case perpendicularFlap: ** FOAM FATAL ERROR ** Application solids4Foam - case linearElasticity/cantilever2d/explicitCantilever2d: ** FOAM FATAL ERROR ** Application solids4Foam - case linearElasticity/cantilever2d/segregatedCantilever2d: ** FOAM FATAL ERROR ** Application solids4Foam - case linearElasticity/cantilever2d/vertexCentredCantilever2d: ** FOAM FATAL ERROR ** Application solids4Foam - case linearElasticity/patchTest: ** FOAM FATAL ERROR ** Application solids4Foam - case linearElasticity/plateHole: ** FOAM FATAL ERROR ** Application solids4Foam - case linearElasticity/plateWithFixedInternalCells: ** FOAM FATAL ERROR ** Application solids4Foam - case linearElasticity/punch: ** FOAM FATAL ERROR ** Application solids4Foam - case linearElasticity/rigidCylinderContactBrick: ** FOAM FATAL ERROR ** Application solids4Foam - case linearElasticity/slidingFrictionBall: ** FOAM FATAL ERROR ** Application solids4Foam - case linearElasticity/wobblyNewton: ** FOAM FATAL ERROR ** Application solids4Foam - case thermoelasticity/hotCylinder/hotCylinder: ** FOAM FATAL ERROR ** Application solids4Foam - case thermoelasticity/hotCylinder/hotCylinderPredefinedTFieldMultipleMaterials: ** FOAM FATAL ERROR ** Application solids4Foam - case thermoelasticity/hotSphere: ** FOAM FATAL ERROR ** Code:
/*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2012 | | \\ / A nd | Website: www.openfoam.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : _269d0ffd5c-20210619 OPENFOAM=2012 patch=210618 Arch : "LSB;label=32;scalar=64" Exec : solids4Foam Date : Jun 13 2023 Time : 15:26:36 Host : p-gc002 PID : 363700 I/O : uncollated Case : /home/.../OpenFOAM/...-v2012/solids4foam-2.0/tutorialsTest/fluidSolidInteraction/flexibleDamBreak nProcs : 1 trapFpe: Floating point exception trapping enabled (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 5, maxFileModificationPolls 20) allowSystemOperations : Allowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time --> FOAM Warning : From static Foam::IOstreamOption::compressionType Foam::IOstreamOption::compressionEnum(const Foam::word&, Foam::IOstreamOption::compressionType) in file db/IOstreams/IOstreams/IOstreamOption.C at line 115 Unknown compression specifier 'uncompressed', using compression off /*---------------------------------------------------------------------------*\ | For further information on the solids4Foam toolbox implementations, | | please see the following publications: | | | | P. Cardiff, A Karac, P. De Jaeger, H. Jasak, J. Nagy, A. Ivankovic, | | Z. Tukovic: An open-source finite volume toolbox for solid mechanics and | | fluid-solid interaction simulations. arXiv:1808.10736v2, 2018, available | | at https://arxiv.org/abs/1808.10736. | | | | Z. Tukovic, A. Karac, P. Cardiff, H. Jasak, A. Ivankovic: OpenFOAM | | finite volume solver for fluid-solid interaction. Transactions of | | Famena, 42 (3), pp. 1-31, 2018, 10.21278/TOF.42301. | \*---------------------------------------------------------------------------*/ Selecting physicsModel fluidSolidInterface Selecting fluidSolidInterface Aitken Selecting fluidModel interFluid Selecting dynamicFvMesh dynamicMotionSolverFvMesh Selecting motion solver: velocityLaplacian Selecting motion diffusion: quadratic Selecting motion diffusion: inverseDistance Selecting patchDistMethod meshWave Reading g from constant directory No finite volume options present Selecting incompressible transport model Newtonian Selecting incompressible transport model Newtonian Selecting turbulence model type laminar Selecting laminar stress model Stokes PIMPLE: Operating solver in PISO mode Resetting the dimensions of p DICPCG: Solving for pcorr, Initial residual = 0, Final residual = 0, No Iterations 0 time step continuity errors : sum local = 0, global = 0, cumulative = 0 Courant Number mean: 0 max: 0 Selecting solidModel linearGeometryTotalDisplacement Selecting dynamicFvMesh staticFvMesh Creating solidTraction boundary condition Creating fixedDisplacement boundary condition under-relaxation method: fixed Creating the mechanicalModel Selecting mechanical law linearElastic --> FOAM FATAL IO ERROR: (openfoam-2012 patch=210618) Entry 'interpolate(sigma0)' not found in dictionary "/home/.../OpenFOAM/...-v2012/solids4foam-2.0/tutorialsTest/fluidSolidInteraction/flexibleDamBreak/system/solid/fvSchemes.interpolationSchemes" file: /home/.../OpenFOAM/...-v2012/solids4foam-2.0/tutorialsTest/fluidSolidInteraction/flexibleDamBreak/system/solid/fvSchemes.interpolationSchemes at line 58 to 61. From const Foam::entry& Foam::dictionary::lookupEntry(const Foam::word&, Foam::keyType::option) const in file db/dictionary/dictionary.C at line 413. FOAM exiting ERROR Thank you in advance. |
|
June 22, 2023, 13:23 |
|
#4 |
Super Moderator
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,093
Rep Power: 34 |
Hi Sokvisal,
Have you tried the latest development branch? i.e. run the following command from inside the solids4foam directory: Code:
> git checkout development > git pull > ./Allwmake > ./Alltest |
|
July 4, 2023, 06:59 |
|
#5 |
New Member
Sokvisal MOM
Join Date: Jun 2023
Posts: 3
Rep Power: 3 |
Dear prof. Philip,
I think I have messed up with the installation since I'm new to Ubuntu and OpenFOAM. By the way, I would like to uninstall the Solid4Foam-2.0 and reinstall it with the the latest development. Could you please tell me how can I uninstall Solid4Foam-2.0? and reinstall it with the latest development? Thank you in advance. Sokvisal |
|
July 4, 2023, 07:26 |
|
#6 | |
Super Moderator
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,093
Rep Power: 34 |
Quote:
|
||
July 4, 2023, 08:56 |
|
#7 |
New Member
Sokvisal MOM
Join Date: Jun 2023
Posts: 3
Rep Power: 3 |
Prof. Philip,
Thank you so much and I also would like to know about how to install the latest development of solid4foam. Thank you in advance. Sokvisal |
|
July 4, 2023, 11:36 |
|
#8 | |
Super Moderator
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,093
Rep Power: 34 |
Quote:
Code:
> git clone --branch development git@github.com:solids4foam/solids4foam.git > cd solids4foam && ./Allwmake && ./Alltest |
||
June 23, 2024, 08:59 |
refined Solution
|
#9 |
New Member
Join Date: Jun 2024
Posts: 1
Rep Power: 0 |
in th solids4foam directory:
>>git stash >>git checkout development >>git pull origin development >> sudo cp optionalFixes/OpenFOAM-v2012/backwardDdtScheme.C /usr/lib/openfoam/openfoam2012/src/finiteVolume/finiteVolume/ddtSchemes/backwardDdtScheme/ >>./Allwmake Checking ThirdParty Checking eigen eigen3 found ThirdParty done optionalFixes/Allcheck ******** PLEASE FIX THIS *********** You should replace the file '/usr/lib/openfoam/openfoam2012/src/finiteVolume/finiteVolume/ddtSchemes/backwardDdtScheme/backwardDdtScheme.C' with 'optionalFixes/OpenFOAM-v2012/backwardDdtScheme.C' You can do it by running the following commands: cp optionalFixes/OpenFOAM-v2012/backwardDdtScheme.C /usr/lib/openfoam/openfoam2012/src/finiteVolume/finiteVolume/ddtSchemes/backwardDdtScheme/ wmake libso /usr/lib/openfoam/openfoam2012/src/finiteVolume ************************************ ******** PLEASE FIX THIS *********** Please replace the files above ************************************ ** ERROR with optionalFixes ** Please make the file replacements described above, or skip these checks by setting 'export S4F_NO_FILE_FIXES=1' >> which wmake it returns a path to use for here >>sudo -E <<previous Path>> libso /usr/lib/openfoam/openfoam2012/src/finiteVolume >>./Allwmake >>cd tutorials/ >>./Alltest |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.org] RHEL 7.8 Issues installing ParaView - Third Party install not creating OpenMPI | browny | OpenFOAM Installation | 2 | April 24, 2021 06:18 |
Tutorials missing in OpenFoam 141 | jam | OpenFOAM Running, Solving & CFD | 4 | January 7, 2008 16:36 |
Missing tets along line when meshing with ICEM CFD | Georges P. Côté | CFX | 6 | March 23, 2006 01:34 |
tutorials for icem-cfd v4.1 | vince | Main CFD Forum | 0 | August 23, 2003 16:25 |
Where can I find Airpak help doc. and tutorials? | Hotlood Wong | FLUENT | 3 | April 23, 2001 04:55 |