[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Getfem-users] Getfem-users Digest, Vol 94, Issue 1
From: |
Yves Renard |
Subject: |
Re: [Getfem-users] Getfem-users Digest, Vol 94, Issue 1 |
Date: |
Sat, 14 Jun 2014 09:21:53 +0200 (CEST) |
Dear Stephan,
This should be fixed now (you can download on the same link again).
For the moment, you can find some examples of use of the new assembly in
tests/test_assembly.cc but without the model objects and in
interface/tests/matlab/demo_nonlinear_elasticity.m using the model object but
this is a nonlinear case).
The easiest way to use the new generic assembly is to use the corresponding
bricks described here
http://download.gna.org/getfem/html/homepage/userdoc/model_generic_assembly.html
Yves.
----- Original Message -----
From: "Stephan Gekle" <address@hidden>
To: address@hidden
Sent: Friday, June 13, 2014 10:00:08 PM
Subject: Re: [Getfem-users] Getfem-users Digest, Vol 94, Issue 1
Dear Yves and Sébastien,
I may have a related issue. I am trying to implement an axisymmetric
system, first for linear elasticity and later on for more complicated
models.
I would have two questions:
1) When I try to compile the version 4.3 from the link Yves sent I get
the following error:
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src
-I../../src -DGMM_USES_BLAS -I/home/btpj/bt301429/muparser/include
-I/usr/include/mumps -DGMM_USES_LAPACK -fpermissive -O3 -Wall -W
-fmessage-length=0 -ftemplate-depth-100 -pedantic -Wshadow
-Wno-unknown-pragmas -Wno-variadic-macros -Wno-unused-but-set-variable
-Wpointer-arith -Wcast-qual -Wwrite-strings -Wconversion
-Wredundant-decls -Wno-long-long -MT gf_asm.lo -MD -MP -MF
.deps/gf_asm.Tpo -c gf_asm.cc -fPIC -DPIC -o .libs/gf_asm.o
gf_asm.cc: In function 'void asm_stabilization_patch_matrix(const MAT&,
const getfem::mesh&, const getfem::mesh_fem&, const getfem::mesh_im&,
bgeot::scalar_type, bgeot::scalar_type)':
gf_asm.cc:218:42: error: 'h' was not declared in this scope
nparts = int(size_of_crack/(ratio_size*h));
2) Is there an example of how to implement simple linear elasticity with
the new high-level language? The examples on the website are helpful,
but they only show a few lines of code. It would be very helpful (to me
at least) to have a full running program. Does that exist?
One could then use this as a basis for extensions.
Best regards,
Stephan
Am 12.06.14 12:00, schrieb address@hidden:
> Send Getfem-users mailing list submissions to
> address@hidden
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://mail.gna.org/listinfo/getfem-users
> or, via email, send a message with subject or body 'help' to
> address@hidden
>
> You can reach the person managing the list at
> address@hidden
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Getfem-users digest..."
>
>
> Today's Topics:
>
> 1. Getfem version and non linear elasticity models
> (S?bastien Lherminier)
> 2. Re: Getfem version and non linear elasticity models (Yves Renard)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 11 Jun 2014 17:42:20 +0200
> From: S?bastien Lherminier <address@hidden>
> To: address@hidden
> Subject: [Getfem-users] Getfem version and non linear elasticity
> models
> Message-ID: <address@hidden>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hello !
> I've recently begun to use Getfem with its Python interface.
> My first question is that the latest version available on the GNA
> download page is 4.2 but the documentation is for version 4.3. Is a
> documentation for version 4.2 available somewhere (I've not found it on
> the website)?
> Maybe this is related with my problem with non linear elasticity models:
> I'm trying to use 'neo Hookean' model for some small calculations, but I
> get the error
> "RuntimeError: (Getfem::InterfaceError) -- neo Hookean is not the name
> of a known hyperelastic law. \Valid names are: SaintVenant Kirchhoff,
> Mooney Rivlin or Ciarlet Geymonat"
> when trying to use the brick "md.add_nonlinear_elasticity_brick(mim,
> 'u', 'neo Hookean', 'cHookean', region)"
>
> I also didn't manage to use either compressible or incompressible
> keywords for Mooney-Rivlin model.
> Do I miss something? Will these syntax and models only be available for
> version 4.3?
>
> Thanks in advance
> S. Lherminier
>
_______________________________________________
Getfem-users mailing list
address@hidden
https://mail.gna.org/listinfo/getfem-users