getfem-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Vector Data as Parameter


From: Yvonne DeMedici
Subject: Vector Data as Parameter
Date: Fri, 25 Oct 2019 08:18:26 +0000 (UTC)

Dear GetFem++ community,

Thank you very much for you attention.

I'm trying to implement a Heat transfer equation, and I successfully inserted in the model every single brick including the transient term, a part from the convection (or advection) term.
My variational form of this term would be \int T \textbf{v} \cdot \Nabla \xi  (with \xi test function Test_T, and \textbf{v} a known vector field).
Let's make things easier and let me define the degrees of freedon as
>>dof=gf_mesh_fem_get(mf, 'nbdof');
and  \textbf{v} as
>>vt=ones(dof, dof, 3).
My problem is the fact that, using the command
>>gf_model_set(md, 'add nonlinear generic assembly brick', mim, '(vt*T).Grad_test_T', -1); 
with T Temperature as the unknown variable,
I receive the error
>>"Error in assembly string".
Could you help me understand what is happening here?

Thank you again,
Best wishes

DeMedici Y.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]