1

(3 replies, posted in Installation Help)

Hi borek:

Thanks very much for your work and look forward to your news!

Best regards
Hao

2

(3 replies, posted in Installation Help)

Hi,

I am trying to build oofem with python bidings, but it fails due to some reason.

I use a precompiled boost package in ubuntu 14.04:

sudo apt-get install libboost-all-dev

Seems like its version is 1.54.0.1ubuntu:
http://packages.ubuntu.com/trusty/libboost-all-dev

Anybody has idea about the error?

3

(6 replies, posted in General Help)

It seems that nlgeo 1 is not implemented for truss element.

Error: (/home/hchen/oofem-2.3/src/sm/nlstructuralelement.h:229)
NLStructuralElement::computeBHmatrixAt : method not implemented for this element

4

(6 replies, posted in General Help)

I hope the model could incoorperate the rigid body motion and elastic deformation so to find the final equilibruim position. Since there is no stiffness in x-y plane, should I move the node out of xz plane a little to give it an small stiffness? I try to make a nonlinear static analysis but it still did not work....

truss.out
truss model of plane net
NonLinearStatic nsteps 8 stepLength 0.000011497039 minStepLength 0.00001 rtolv 0.01 Psi 0.0 MaxIter 120
domain 3d
OutputManager tstep_all dofman_all element_all
ndofman 6 nelem 7 ncrosssect  1 nmat 1 nbc 2 nic 0 nltf 1
node 1 coords 3 0.0  0.0    0.0  bc 3 1 1 1
node 2 coords 3 1.0  0.0    0.0  bc 3 1 1 1
node 3 coords 3 0.0  0.1   -1.0  bc 3 0 0 0 load 1 2
node 4 coords 3 1.0  0.1   -1.0  bc 3 0 0 0 load 1 2
node 5 coords 3 0.0  0.0   -2.0  bc 3 1 1 1 
node 6 coords 3 1.0  0.0   -2.0  bc 3 1 1 1 
truss3d 1 nodes 2 1 3 mat 1 crossSect 1 
truss3d 2 nodes 2 3 4 mat 1 crossSect 1 
truss3d 3 nodes 2 4 2 mat 1 crossSect 1 
truss3d 4 nodes 2 2 1 mat 1 crossSect 1 
truss3d 5 nodes 2 3 5 mat 1 crossSect 1 
truss3d 6 nodes 2 5 6 mat 1 crossSect 1 
truss3d 7 nodes 2 4 6 mat 1 crossSect 1 
SimpleCS 1 thick 1.0 width 1.0
IsoLE 1 d 1.0 E 1000. n 0.3 tAlpha 0.000012
BoundaryCondition 1 loadTimeFunction 1 prescribedvalue 0.0
NodalLoad 2 loadTimeFunction 1 Components 3 0.0 10000000.0 0.0
ConstantFunction 1 f(t) 1.0

And I also think large deformation should be considered but I can not find any hints in the manual? Seems in the manual more considerations are put into material nonlinerity?

The result I want to get is similar to the attached file. But for sure that is a complex one.

Hi :

I am trying to model a fairly simple 3D truss frame. The frame is located in x-z plane but subjected to a point load in parallel with y axis. I fix the corner point as the boundary condition but I hope the truss could rotate with the node to find a equilibruim point out of the x-z plane. The input file looks like below:

truss.out
truss model of plane net
LinearStatic nsteps 100
domain 3d
OutputManager tstep_all dofman_all element_all
ndofman 6 nelem 7 ncrosssect  1 nmat 1 nbc 2 nic 0 nltf 1
node 1 coords 3 0.0  0.0  0.0  bc 3 1 1 1
node 2 coords 3 1.0  0.0  0.0  bc 3 1 1 1
node 3 coords 3 0.0  0.0 -1.0  bc 3 0 0 0 load 1 2
node 4 coords 3 1.0  0.0 -1.0  bc 3 0 0 0 load 1 2
node 5 coords 3 0.0  0.0 -2.0  bc 3 1 1 1 
node 6 coords 3 1.0  0.0 -2.0  bc 3 1 1 1 
truss3d 1 nodes 2 1 3 mat 1 crossSect 1 
truss3d 2 nodes 2 3 4 mat 1 crossSect 1 
truss3d 3 nodes 2 4 2 mat 1 crossSect 1 
truss3d 4 nodes 2 2 1 mat 1 crossSect 1 
truss3d 5 nodes 2 3 5 mat 1 crossSect 1 
truss3d 6 nodes 2 5 6 mat 1 crossSect 1 
truss3d 7 nodes 2 4 6 mat 1 crossSect 1 
SimpleCS 1 thick 1.0 width 1.0
IsoLE 1 d 1.0 E 1000. n 0.3 tAlpha 0.000012
BoundaryCondition 1 loadTimeFunction 1 prescribedvalue 0.0
NodalLoad 2 loadTimeFunction 1 Components 3 0.0 10000000.0 0.0
ConstantFunction 1 f(t) 1.0

The result show the stress as nan...

I am wondering if it is due to that in the analysis it should nvolve in the geometrical nonlinearity? Anybody knows how to modify the input file?

6

(2 replies, posted in General Help)

I am thinking to model a very simple net sheet as in the attached figure and do a static analysis first. The idea is to allow the 3D movement for the node. For sure each element should have four node, not as in the fugure. And the element could have in plane deformation but no rotation around z aixs. Anynody have any suggestions on the element choice and domain type? May I choose 3d domain type but 2dplane stress element?

Thanks in advance!

7

(2 replies, posted in General Help)

Hi: 

I am wondering if there is a preprocessor that can generate the mesh in the input file? e.g. Gmsh or...  can they convert to the input file format (maybe with minor modification?)

Since I want to couple oofem with OpenFoam maybe it is important for me.

Hao

Hi Mikael and Borek:

I tried to compile Petsc and oofem with same openmpi library, I think it is ok!

But when I do the parallel test, there is 3 tests failed. seems due to ParMETIS support not compiled...

Is this ParMETIS used to decompose the mesh domain? Other tests passed because the domain is already decomposed before parallel running?
I am not sure if it is introduced in the manual since I am still reading it...

Thanks again for your help!

Hao

Hi Mikael:

After I installed the PETSc, I test the inside examples and it shows ok.

Running test examples to verify correct installation
Using PETSC_DIR=/home/hchen/petsc-3.4.4 and PETSC_ARCH=arch-linux2-c-debug
C/C++ example src/snes/examples/tutorials/ex19 run successfully with 1 MPI process
C/C++ example src/snes/examples/tutorials/ex19 run successfully with 2 MPI processes
Fortran example src/snes/examples/tutorials/ex5f run successfully with 1 MPI process
Completed test examples

However when I installed the PETSc, I used the recommended command:

./configure --with-cc=gcc --with-fc=gfortran --download-f-blas-lapack --download-mpich

Probably it means PETSc uses mpich?

And when I compiled oofem in parallel, I use openmpi-1.8 because I did not find the library of mpich.
Is it the possible reason?

When I run

mpirun -np 1 ./oofem

It showed the same:

[hchen:04737] *** Process received signal ***
[hchen:04737] Signal: Segmentation fault (11)
[hchen:04737] Signal code: Address not mapped (1)
[hchen:04737] Failing at address: 0x44000098
[hchen:04737] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x36ff0)[0x7f829b915ff0]
[hchen:04737] [ 1] /usr/local/lib/libmpi.so.1(MPI_Comm_rank+0x46)[0x7f829c21a5e6]
[hchen:04737] [ 2] ./oofem(main+0x130)[0x403369]
[hchen:04737] [ 3] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)[0x7f829b900de5]
[hchen:04737] [ 4] ./oofem[0x403139]
[hchen:04737] *** End of error message ***
--------------------------------------------------------------------------
mpirun noticed that process rank 0 with PID 4737 on node hchen exited on signal 11 (Segmentation fault).
--------------------------------------------------------------------------

Hao

I tried running it through valgrind. There are some errors detected I think. The log is attached.

Hi:

Thanks guys.

Basically there is no problem with the serial version of oofem.
But when I compile oofem with petsc and openmpi to do the parallel computation, no error in configuration and build I think but all the paratests fail...
Do I misunderstand something or...
The log file of the build is attached.

when type './oofem' it looks like:

[hchen:10378] *** Process received signal ***
[hchen:10378] Signal: Segmentation fault (11)
[hchen:10378] Signal code: Address not mapped (1)
[hchen:10378] Failing at address: 0x44000098
[hchen:10378] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x36ff0)[0x7f152010eff0]
[hchen:10378] [ 1] /usr/local/lib/libmpi.so.1(MPI_Comm_rank+0x46)[0x7f1520a135e6]
[hchen:10378] [ 2] ./oofem(main+0x130)[0x403369]
[hchen:10378] [ 3] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)[0x7f15200f9de5]
[hchen:10378] [ 4] ./oofem[0x403139]
[hchen:10378] *** End of error message ***
Segmentation fault (core dumped)


Hao

Hi Borek:

Thanks! It works and no tests failed!

So next maybe I can start to build the released version and start some simple calculation?

What does '' compiling the targets '' mean?

Hao

Hi:

My linux system does not work so I just reinstall the system.

Then I try again but it is exactly the same problem. In the configuration step it says Doxygen is not found, others are ok.
In the make step I can not see any problem...

So I run the command as Mikael said:

make clean
make VERBOSE=1 > buildlog.txt

The buildlog.txt is attached.

I am wondering if it is due to I do not install some prerequisite softwares?

Thanks!

Hao

Hi

My compiler is gcc 4.6.3, cmake version is cmake 2.8.7

Hao

Hi Borek:

I got it as:



OOFEM version 2.3 (x86_64-Linux, fm;tm;sm)
of Apr  2 2014 on hchen

Copyright (C) 1994-2014 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.



Does it mean tm has been compiled?

Hao

Hi Borek:

Thanks for your reply!

I tried ./oofem , and works well.

When I executed the tm input file in the tm module, it does not work. So I suppose that is because of the tm module.

How can I check that module is configured or not?

I rerun cmake and it just says configuration done....

Hao

Hi Guys:

I am pretty new to linux system and oofem.
I follow http://www.oofem.org/wiki/doku.php?id=installation first to do a quick installation to see if it can work.

It seems that the installation is ok but when I use ctest to test the examples, 54 fails...

The log file is attached. It seems that most of them are due to the reason that can not construct the engineering model..

And when I want to test manually, I type:

oofem -f path_to_test_file

It says command not found.

Anybody can help me? Thanks in advance!