Git Product home page Git Product logo

fracturerb's Introduction

fracturerb's People

Contributors

david-hahn avatar

Stargazers

Gyksyj avatar Samuel Neff avatar KL VOid avatar  avatar Ryusuke Sugimoto avatar  avatar GON avatar Justin avatar Nolram avatar Ling Zhan avatar  avatar  avatar Jonathan Pham avatar  avatar  avatar Zipeng avatar Libo Huang(黄立博) avatar  avatar Ivan Goremykin avatar Fabio Dias Rollo avatar  avatar toplattice avatar Rui Ren avatar Bin Wang avatar  avatar Pham Dang Truong avatar Minchen avatar Chitalu avatar Second Datke avatar  avatar  avatar Mykola Konyk avatar Starry Animation avatar  avatar Albert Tavares de Almeida avatar kai avatar yann le paih avatar Cesar Leblic avatar Simon Geilfus avatar Dimitri Diakopoulos avatar Nick Porcino avatar MattD avatar  avatar Joel Simon avatar Jesse Stiller avatar  avatar

Watchers

Nick Porcino avatar Joel Simon avatar  avatar  avatar

fracturerb's Issues

symbol(s) not found for architecture x86_64

Hello, thanks for putting this repo up. I've managed to get most of the dependencies installed and issues worked out, but now getting the following compile issue after running make (on osx 10.10.1):

[ 44%] Linking CXX executable FractureBEM_vis
Undefined symbols for architecture x86_64:
  "openvdb::v2_2_0::initialize()", referenced from:
      FractureSim::VDBWrapper::VDBWrapper(double, double, bool) in libFractureLib.a(VDBWrapper.cpp.o)

      ...

  "openvdb::v2_2_0::GridBase::getName[abi:cxx11]() const", referenced from:
      FractureSim::VDBWrapper::getSegments(double, bool) const in libFractureLib.a(VDBWrapper_mesh.cpp.o)
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status
make[2]: *** [FractureBEM_vis] Error 1
make[1]: *** [CMakeFiles/FractureBEM_vis.dir/all] Error 2
make: *** [all] Error 2

Any advice for solving this? My guess is there is as issue of the openVDB installation, althoguth not sure how I would check. I do have openvdb 2.2.0 installed. I'm also assuming osx binaries arn't available. Although that would be great.

The full output and other relevant files are attached
debug_files.zip

Thanks again,
Joel

Errors with examples

Hello again, unfortunately more Ubuntu issues. Both examples are crashing for me.

Taken from the .bat files I have run both verbatim

FractureRB bowl.bullet bowl.csv -o out/bowl -n 500 -i 1e3 -f 5e6 --default-solver

as well as

FractureRB glass.bullet glass.csv -o out/glass -i 1e5 -f 1e7 -s 2

bowl one raises

...
% have 1 fragments ...
% ************************************************************ 9
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 64: I 1931 F 4.76e+06 (bunny)
% 64: I 1931 F 9.717e+05 (Arma1)
% ************************************************************
% fracture simulation for bunny_64 ... 37 time steps
% ... initializing BEM solver
% ... regularizing Neumann problem
% BEM initialized ... 24.0385s
% setting new boundary data ... 0.3233s
% fracturing (1/37) ...
% computing SIFs ... 0.0045s
% writing output ... 0.0158s
% crack initiation ...terminate called after throwing an instance of 'openvdb::v2_1::IoError'
what(): IoError: could not open file vdbmat\grains_cu_oct_nb10.vdb
Aborted (core dumped)

This may be a / issue? should it be vdbmat/grains?

and the glass one raises

...
% sub-stepping ... 0.1434s
% total ... 10.1538s (have 1998 elements and 83 cracks)
% fracturing (2/10) ...
% computing SIFs ... 14.0205s
% crack initiation ...
% ... ... candidates listed
% ... ... seeding done 1.1803s
% sub-stepping ...Segmentation fault (core dumped)

These both crash at the same place if re-run.

I am running the version with the bug fixes you pushed this morning. I did not recompile openVDB with the fix but I I saw it causes crashes with stack limits and mine is 1,000,000 so that should be fine.

Thanks again for your help! I look forward to being able to use this.
Joel

cannot get the HyENA source code

Hello David!

I noticed that the source code for the HyENA library is not provided in your project, and the link given in your README is no longer valid. Could you please provide the source code for this library?

Thanks,
KL

Install issue: undefined references in linking FractureRB

Hello,

Pardon the installation question but I'm unable to get past one of the final make linking steps.

Here is one of them:

CMakeFiles/FractureRB.dir/src/FractureRB_fragments.cpp.o: In function FractureSim::FractureRB::doCollisionUpdate()': FractureRB_fragments.cpp:(.text+0x17a4): undefined reference tobtRigidBody::setMassProps(double, btVector3 const&)'

Bullet is successfully installed and pasts tests, I have also tried with various releases of the bullet library. BULLET_COLLISION path is definitely correctly set to the libBulletCollision.so file and BULLET_INCLUDE is correct as well. I also tried using the .a files. FractureBEM and FractureBEM_vis successful link.

Before I started muckign around with the make file I was wondering if this was an issue you were aware of or knew how I might remedy it. I've already tried everything else I know of. I am on ubuntu.

The full output is attached.
Thanks a lot!

error_data.zip

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.