Giter Site home page Giter Site logo

oofem's People

Contributors

bpatzak avatar carlsandstrom avatar editadvorakova avatar eudoxos avatar feymark avatar framby avatar graspel avatar jimbrouzoulis avatar karelmikes avatar kristofferc avatar martinfagerstrom avatar micket avatar milanjirasek avatar nitramkaroh avatar pedroskop avatar sancho-s avatar stanislavsulc avatar stranskyjan avatar vit-smilauer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

oofem's Issues

oofem using Cuda

Hello,
Is there anyone who want to accelerate the oofem code based on CUDA?
And now, CUDA is supported in PETSc. And the CUDA PETSc can be used in OOFEM?
Thanks a lot!
Regard,
Henry

error with example

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

OOFEM and GPU

Will the OOFEM will be accelerated based on GPU, or how can I do that?
Thanks a lot!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.