[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Getfem-users] Error occurred when using add_nonlinear_term
From: |
Yves Renard |
Subject: |
Re: [Getfem-users] Error occurred when using add_nonlinear_term |
Date: |
Tue, 26 Feb 2019 08:54:03 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 |
Dear Tetsuo,
The error is the following : the given expression
lambda*Grad_Dot_ux1*Test_Dot_uz1
is not scalar because Grad_Dot_ux1 is a probably a vector, lambda and
Test_Dot_uz1 are probably scalars quantities so the result is a vector
quantity. However, a weak form term has to be a scalar quantity. So
probably, there is a mistake in your formulation.
Best Regards,
Yves
Le 26/02/2019 à 06:39, Tetsuo Koyama a écrit :
Dear GetFEM++ project
I have a error when I make a C++ program (in attachment file) by using
getfem++ library.
I compile it in Ubuntu18.04 and compile it in the same environment
compiling in tests directory.
The message is following. I'm sorry that I couldn't understand what
does this mean.
I could only understand that it caused because of adding the following
brick in line 293.
getfem::add_nonlinear_term(model, mim,
"lambda*Grad_Dot_ux1*Test_Dot_uz1", LEFT, false);
Could you please teach me that what does this error message mean?
Thank you for reading.
============================================
| A GMM error has been detected !!! |
============================================
Error in getfem_generic_assembly_compile_and_exec.cc, line 6798 void
getfem::ga_compile(getfem::ga_workspace&, getfem::ga_instruction_set&,
bgeot::size_type):
Invalid vector or tensor quantity. An order 1 weak form has to be a
scalar quantity
--
Yves Renard (address@hidden) tel : (33) 04.72.43.87.08
INSA-Lyon
20, rue Albert Einstein
69621 Villeurbanne Cedex, FRANCE
http://math.univ-lyon1.fr/~renard
---------