Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error with example #7

Open
yncxcw opened this issue Oct 2, 2017 · 0 comments
Open

error with example #7

yncxcw opened this issue Oct 2, 2017 · 0 comments

Comments

@yncxcw
Copy link

yncxcw commented Oct 2, 2017

hi, all

I am helping my friends setting with this tool. We first tried the first example but got the following errors:

This is the errors we have for Plane stress example.


       OOFEM - Finite Element Solver
    Copyright (C) 1994-2017 Borek Patzak


Error: (/Users/Yige/Downloads/oofem/src/oofemlib/floatarray.C:140)
In checkBounds:
array error on index : 2 > 1


stack trace:
2 liboofem.dylib 0x0000000100d06d61 _ZNK5oofem10FloatArray11checkBoundsEi + 897
3 liboofem.dylib 0x0000000100d069af _ZN5oofem10FloatArray2atEi + 31
4 liboofem.dylib 0x0000000100e0502e _ZN5oofem17BoundaryCondition4giveEPNS_3DofENS_13ValueModeTypeEd + 798
5 liboofem.dylib 0x0000000100e04cf4 _ZN5oofem17BoundaryCondition4giveEPNS_3DofENS_13ValueModeTypeEPNS_8TimeStepE + 260
6 liboofem.dylib 0x0000000100c2c37c _ZN5oofem3Dof11giveBcValueENS_13ValueModeTypeEPNS_8TimeStepE + 316
7 liboofem.dylib 0x0000000100c2d156 _ZN5oofem9MasterDof11giveUnknownENS_13ValueModeTypeEPNS_8TimeStepE + 422
8 liboofem.dylib 0x0000000100c8bccc _ZN5oofem10DofManager17giveUnknownVectorERNS_10FloatArrayERKNS_8IntArrayENS_13ValueModeTypeEPNS_8TimeStepEb + 492
9 liboofem.dylib 0x0000000100d43176 _ZN5oofem7Element15computeVectorOfENS_13ValueModeTypeEPNS_8TimeStepERNS_10FloatArrayE + 326
10 liboofem.dylib 0x0000000101027c4f _ZN5oofem19NLStructuralElement24giveInternalForcesVectorERNS_10FloatArrayEPNS_8TimeStepEi + 143
Total 1 error(s) and 0 warning(s) reported
oofem exit code 1

This is the error we have for beam structure


       OOFEM - Finite Element Solver
    Copyright (C) 1994-2017 Borek Patzak


Error: (/Users/Yige/Downloads/oofem/src/oofemlib/generalboundarycondition.C:81)
Input error on line 33: "Bad format", field keyword "dofs"
In function BoundaryCondition::initializeFrom
Record:"boundarycondition 1 loadtimefunction 1 dofs 3 1 values 1 0.0 set 2"


stack trace:
2 liboofem.dylib 0x000000010ae07584 _ZN5oofem19OOFEMTXTInputRecord12report_errorEPKcS2_S2_NS_12IRResultTypeES2_i + 516
3 liboofem.dylib 0x000000010b0b455a _ZN5oofem24GeneralBoundaryCondition14initializeFromEPNS_11InputRecordE + 1002
4 liboofem.dylib 0x000000010b0b508a _ZN5oofem17BoundaryCondition14initializeFromEPNS_11InputRecordE + 42
5 liboofem.dylib 0x000000010ad430fd _ZN5oofem6Domain19instanciateYourselfERNS_10DataReaderE + 38717
6 liboofem.dylib 0x000000010afd7667 _ZN5oofem10EngngModel18instanciateDomainsERNS_10DataReaderE + 471
7 liboofem.dylib 0x000000010afd6d92 ZN5oofem10EngngModel19instanciateYourselfERNS_10DataReaderEPNS_11InputRecordEPKcS6 + 4994
8 liboofem.dylib 0x000000010ad85025 _ZN5oofem18InstanciateProblemERNS_10DataReaderENS_11problemModeEiPNS_10EngngModelEb + 4661
9 oofem 0x000000010aca493b main + 7883
10 libdyld.dylib 0x00007fff776bb145 start + 1
Total 1 error(s) and 0 warning(s) reported
oofem exit code 1

However, it works for Node-cut example and Element-cut example.

This is the software version and OS version we used:

OOFEM version 2.4 (x86_64-Darwin, fm;tm;sm)
of Oct 1 2017 on ZHANGs-MacBook-Pro.local

Copyright (C) 1994-2017 Borek Patzak
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

I am not sure if this is caused by my lacking of dependent library

Hope you guys can help me.

Wei Chen

johnnyontheweb pushed a commit to johnnyontheweb/oofem that referenced this issue Jun 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant