solids4foam/solids4foam.github.io

Error in tutorial "neckingBar" with Docker image

Opened this issue · 0 comments

I installed solids4foam Docker image (on Windows 11)

docker pull solids4foam/solids4foam-v2.0-openfoam-v2012

and was able to run the 1st tutorial as expected, but when trying to run the tutorial I was interested in, "neckingBar", I got an error;

root@994f555b2877:/usr/lib/solids4foam/tutorials/solids/elastoplasticity/neckingBar# ./Allrun
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| solids4Foam::convertCaseFormat start                                |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Changing symmetryPlane to symmetry in blockMeshDict

Changing symmetryPlane to symmetry in ./0/DD

Moving constant/polyMesh/blockMeshDict to system
OpenFOAM.com specific: replacing 'leastSquares' with 'pointCellsLeastSquares' in system/fvSchemes

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| solids4Foam::convertCaseFormat end                                  |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Running blockMesh on /usr/lib/solids4foam/tutorials/solids/elastoplasticity/neckingBar
Running solids4Foam on /usr/lib/solids4foam/tutorials/solids/elastoplasticity/neckingBar
/root/OpenFOAM/-v2012/platforms/linux64GccDPInt32Opt/bin/solids4FoamScripts.sh: line 492:   422 Floating point exception(core dumped) $appRun $appArgs "$@" > $logFile 2>&1

At this point, if I run directly solids4Foam, I get:

root@2ca749dd3bc4:/usr/lib/solids4foam/tutorials/solids/elastoplasticity/neckingBar# solids4Foam
Duplicate entry backward in runtime selection table ddtScheme
#0      /usr/lib/openfoam/openfoam2012/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam5error14safePrintStackERSo+0x49) [0x7f2e14722529]
#1      /root/OpenFOAM/-v2012/platforms/linux64GccDPInt32Opt/lib/libsolids4FoamModels.so(_ZN4Foam2fv9ddtSchemeIdE28addIstreamConstructorToTableINS0_17backwardDdtSchemeIdEEEC1ERKNS_4wordE+0x100) [0x7f2e150cc340]
#2      /root/OpenFOAM/-v2012/platforms/linux64GccDPInt32Opt/lib/libsolids4FoamModels.so(+0x25ff06) [0x7f2e14b73f06]
#3      /lib64/ld-linux-x86-64.so.2(+0x11b9a) [0x7f2e15452b9a]
#4      /lib64/ld-linux-x86-64.so.2(+0x11ca1) [0x7f2e15452ca1]
#5      /lib64/ld-linux-x86-64.so.2(+0x113a) [0x7f2e1544213a]
Duplicate entry backward in runtime selection table ddtScheme
#0      /usr/lib/openfoam/openfoam2012/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam5error14safePrintStackERSo+0x49) [0x7f2e14722529]
#1      /root/OpenFOAM/-v2012/platforms/linux64GccDPInt32Opt/lib/libsolids4FoamModels.so(_ZN4Foam2fv9ddtSchemeINS_6VectorIdEEE28addIstreamConstructorToTableINS0_17backwardDdtSchemeIS3_EEEC1ERKNS_4wordE+0x100) [0x7f2e150cc8b0]
#2      /root/OpenFOAM/-v2012/platforms/linux64GccDPInt32Opt/lib/libsolids4FoamModels.so(+0x25ffac) [0x7f2e14b73fac]
#3      /lib64/ld-linux-x86-64.so.2(+0x11b9a) [0x7f2e15452b9a]
#4      /lib64/ld-linux-x86-64.so.2(+0x11ca1) [0x7f2e15452ca1]
#5      /lib64/ld-linux-x86-64.so.2(+0x113a) [0x7f2e1544213a]
Duplicate entry backward in runtime selection table ddtScheme
#0      /usr/lib/openfoam/openfoam2012/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam5error14safePrintStackERSo+0x49) [0x7f2e14722529]
#1      /root/OpenFOAM/-v2012/platforms/linux64GccDPInt32Opt/lib/libsolids4FoamModels.so(_ZN4Foam2fv9ddtSchemeINS_15SphericalTensorIdEEE28addIstreamConstructorToTableINS0_17backwardDdtSchemeIS3_EEEC1ERKNS_4wordE+0x100) [0x7f2e150cce20]
#2      /root/OpenFOAM/-v2012/platforms/linux64GccDPInt32Opt/lib/libsolids4FoamModels.so(+0x260052) [0x7f2e14b74052]
#3      /lib64/ld-linux-x86-64.so.2(+0x11b9a) [0x7f2e15452b9a]
#4      /lib64/ld-linux-x86-64.so.2(+0x11ca1) [0x7f2e15452ca1]
#5      /lib64/ld-linux-x86-64.so.2(+0x113a) [0x7f2e1544213a]
Duplicate entry backward in runtime selection table ddtScheme
#0      /usr/lib/openfoam/openfoam2012/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam5error14safePrintStackERSo+0x49) [0x7f2e14722529]
#1      /root/OpenFOAM/-v2012/platforms/linux64GccDPInt32Opt/lib/libsolids4FoamModels.so(_ZN4Foam2fv9ddtSchemeINS_10SymmTensorIdEEE28addIstreamConstructorToTableINS0_17backwardDdtSchemeIS3_EEEC1ERKNS_4wordE+0x100) [0x7f2e150cd390]
#2      /root/OpenFOAM/-v2012/platforms/linux64GccDPInt32Opt/lib/libsolids4FoamModels.so(+0x2600f8) [0x7f2e14b740f8]
#3      /lib64/ld-linux-x86-64.so.2(+0x11b9a) [0x7f2e15452b9a]
#4      /lib64/ld-linux-x86-64.so.2(+0x11ca1) [0x7f2e15452ca1]
#5      /lib64/ld-linux-x86-64.so.2(+0x113a) [0x7f2e1544213a]
Duplicate entry backward in runtime selection table ddtScheme
#0      /usr/lib/openfoam/openfoam2012/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam5error14safePrintStackERSo+0x49) [0x7f2e14722529]
#1      /root/OpenFOAM/-v2012/platforms/linux64GccDPInt32Opt/lib/libsolids4FoamModels.so(_ZN4Foam2fv9ddtSchemeINS_6TensorIdEEE28addIstreamConstructorToTableINS0_17backwardDdtSchemeIS3_EEEC2ERKNS_4wordE+0x100) [0x7f2e150cd900]
#2      /root/OpenFOAM/-v2012/platforms/linux64GccDPInt32Opt/lib/libsolids4FoamModels.so(+0x26019e) [0x7f2e14b7419e]
#3      /lib64/ld-linux-x86-64.so.2(+0x11b9a) [0x7f2e15452b9a]
#4      /lib64/ld-linux-x86-64.so.2(+0x11ca1) [0x7f2e15452ca1]
#5      /lib64/ld-linux-x86-64.so.2(+0x113a) [0x7f2e1544213a]
/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  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   : Dec 06 2024
Time   : 22:57:51
Host   : 2ca749dd3bc4
PID    : 582
I/O    : uncollated
Case   : /usr/lib/solids4foam/tutorials/solids/elastoplasticity/neckingBar
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 solidModel
Selecting solidModel nonLinearGeometryUpdatedLagrangian
Selecting dynamicFvMesh staticFvMesh
Creating fixedDisplacement boundary condition
    displacement is time-varying
Creating solidTraction boundary condition
Symmetry boundary condition with non-orthogonal correction
    under-relaxation method: fixed
Creating the mechanicalModel
Selecting mechanical law neoHookeanElasticMisesPlastic
    updateBEbarConsistent: true
    Plasticity is nonlinear
updateBEbarConsistent is active
Creating disp1 function object
Creating force1 function object
Time = 0.002

Evolving solid solver
Solving the updated Lagrangian form of the momentum equation for DD
setCellDisplacements: reading cellDisplacements
    Corr, res, relRes, matRes, iters
    100, 0.0738472, 0.00893912, 0.00922232, 12
    200, 0.0704074, 0.00501165, 0.00497197, 12
    300, 0.0584139, 0.00332722, 0.00332881, 12
    400, 0.0859197, 0.00230416, 0.00231785, 14
    500, 0.0709893, 0.00188666, 0.00434207, 18
    600, 0.0814527, 0.00182564, 0.00399576, 14
    700, 0.060999, 0.00711795, 0.0227273, 13
    800, 0.0795898, 0.013568, 0.0215653, 15
#0  Foam::error::printStack(Foam::Ostream&) at ??:?
#1  Foam::sigFpe::sigHandler(int) at ??:?
#2  ? in /lib/x86_64-linux-gnu/libpthread.so.0
#3  ? in /lib/x86_64-linux-gnu/libm.so.6
#4  powf64 in /lib/x86_64-linux-gnu/libm.so.6
#5  Foam::pow(Foam::Field<double>&, Foam::UList<double> const&, double const&) at ??:?
#6  void Foam::pow<Foam::fvPatchField, Foam::volMesh>(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::dimensioned<double> const&) at ??:?
#7  Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > Foam::pow<Foam::fvPatchField, Foam::volMesh>(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::dimensioned<double> const&) at ??:?
#8  Foam::neoHookeanElasticMisesPlastic::correct(Foam::GeometricField<Foam::SymmTensor<double>, Foam::fvPatchField, Foam::volMesh>&) at ??:?
#9  Foam::solidModels::nonLinGeomUpdatedLagSolid::evolve() at ??:?
#10  ? in ~/OpenFOAM/-v2012/platforms/linux64GccDPInt32Opt/bin/solids4Foam
#11  __libc_start_main in /lib/x86_64-linux-gnu/libc.so.6
#12  ? in ~/OpenFOAM/-v2012/platforms/linux64GccDPInt32Opt/bin/solids4Foam
Floating point exception (core dumped)

Thanks in advance for any help.