Dear Stephan,

regarding point 1, please recompile the current svn version of getfem++.
Regarding point 2, which language are you interested in? Python/Matlab or
C++? For Matlab you can look at
interface/tests/matlab/demo_nonlinear_elasticity.m.

BR
Kostas


On Fri, Jun 13, 2014 at 10:00 PM, Stephan Gekle <
[email protected]> wrote:

> 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 [email protected]:
>
>> Send Getfem-users mailing list submissions to
>>         [email protected]
>>
>> 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
>>         [email protected]
>>
>> You can reach the person managing the list at
>>         [email protected]
>>
>> 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  <[email protected]>
>> To: [email protected]
>> Subject: [Getfem-users] Getfem version and non linear elasticity
>>         models
>> Message-ID: <[email protected]>
>> 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
> [email protected]
> https://mail.gna.org/listinfo/getfem-users
>
_______________________________________________
Getfem-users mailing list
[email protected]
https://mail.gna.org/listinfo/getfem-users

Reply via email to