1

(1 replies, posted in General Help)

Hi every one,

How can I run one of oofem tests?
I found https://mech.fsv.cvut.cz/svn/mupif/trun … les/README
But I don't find python directory mentioned in the link!
Just to be more specific, I would like to be able to run one specific test and visualize the results.
Would someone help me with this please?

Thanks
Souren

2

(3 replies, posted in Installation Help)

nitramkaroh wrote:

Dear Souren,

these four tests don't pass, you can read the discussion about that here http://www.oofem.org/forum/viewtopic.php?id=1727
To visualise your results I would recommend paraview, but there are several exportmodules which can be used to export your results in different formats, viz. http://www.oofem.org/resources/doc/oofe … ode40.html
There is possibility to use salome (http://www.salome-platform.org/) as a preprocessor, but then you need to use and unv2oofem http://www.oofem.org/wiki/doku.php?id=u … :unv2oofem to get the oofem input.

Martin

Thanks for your response,

As you can see I am quite new to this code and just trying to understand how to work with it.
I actually already worked with salome and also paraview, so that wouldn't be a problem.
But I have some small questions:
1. When I installed the code using  http://www.oofem.org/wiki/doku.php?id=installation  I didn't use any of the build options because I couldn't really get their significance! How should I use them? I had a look at the OOFEM documents but I couldn't really find the answer to my question!

2. I am quite interested in using XFEM features of OOFEM for crack propagation modeling, is there any test among OOFEM tests that I can run and visualize to get started with OOFEM?

Thanks again for your time

3

(3 replies, posted in Installation Help)

Hi everyone,

I am becoming a new oofem user, I just installed oofem on my system, ubuntu 15.10 64bit,
went through the steps mentioned on the installation page as follows:

First add the folowing lines to your sources.list:

  deb http://ppa.launchpad.net/eudoxos/ppa/ubuntu karmic main
  deb-src http://ppa.launchpad.net/eudoxos/ppa/ubuntu karmic main

Second: tell ubuntu to trust this PPA (Obvious: you must make sure you trust the PPA owner before installing their software…)

  sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 92DE8183

Third: update and install:

  sudo apt-get update && sudo apt-get install oofem oofem-mpi oofem-oofeg oofem-doc


Quick Installation

You will need the build-essential (to build) and the xorg-dev (for use of oofeg) packages. On a Ubuntu/Debian system run:

  sudo apt-get install build-essential xorg-dev

Create a build directory

  mkdir -p ~/build/debug/

Configure oofem target

  cd ~/build/debug
  cmake ~/oofem.git/

Run make to compile the required targets as

  cd ~/build/debug; make

The oofem executable will be created in ~/build/debug directory

Important notice: Use the debug build while you get everything to work, but make sure to compile an optimized version for running serious simulations (CMAKE_BUILD_TYPE=Release). The optimized version will be orders of magnitudes faster than the Debug build.
  mkdir -p ~/build/release/
  cd ~/build/release/
  cmake -DCMAKE_BUILD_TYPE=Release ~/oofem.git/
  make

After this step I didn't run any build option commands and I directly ran "ctest" and I got the following errors:

The following tests FAILED:
    231 - test_tmpatch46.in (Failed)
    254 - test_MPS_block02_tmsm.in (Failed)
    256 - test_MPS_block01_tmsm.in (Failed)
    271 - benchmark_tr2shell7XFEM_CZ.in (Failed)
Errors while running CTest

Most of tests were run successfully and just the above 4 tests failed.
would you please help me understand what the problem is?

I would also like to know how to run a simple example and visualize my results.
What tool should I use for pre-processing? how to run it and how to visualize the results?
Is there any comprehensive manual from which I can get my hands on the usage of the code please?

Thanks a bunch
Souren