[Top][All Lists]

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

Re: [Getfem-users] Neumann Boundary Condition Normal to Level-Set Bounda

From: Yves Renard
Subject: Re: [Getfem-users] Neumann Boundary Condition Normal to Level-Set Boundary
Date: Tue, 29 Aug 2017 10:51:56 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1

Dear Patrick,

The "Normal" vector is indeed only defined on element faces. In order to obtain the normal vector of a level-set, the standard way is to use "Normalized(Grad_lambda)" where "lambda" is the scalar field of the level-set function (that you have to add as a data to the model). Note also, that you have access to discontinuities across the level-set of Xfem fields (mesh_fem_level_set objects) thanks to the Xfem_plus and Xfem_minus command of the language (see

Best regards,


Le 28/08/2017 à 20:44, Patrick Schmidt a écrit :

Dear Getfem users,

I am new to getFem and made my way through the file in order to use the implemented XFEM formulation.

Now I would like to set up a boundary value problem where a pressure acts orthogonal to the surface of the discontinuity. I tried to find some way in order to apply source terms orthogonal on the surface of the discontinuity. In terms of the boundary condition that's as far as I got:

applied_force = 1.e7
md.add_initialized_data('Fx', [applied_force, 0]);

mim_bound1 = gf.MeshIm('levelset', mls, 'boundary(a)',
(mim_bound1, 'Fx.Test_u')

I tried to use the 'Normal' keyword within the string, but since the integration takes part within the element and the normal seems to be defined on surfaces only, my python script failed.

Is there a way to apply Neumann Boundary conditions orthogonal to the surface of the discontinuity?

Kind regards,



  Yves Renard (address@hidden)       tel : (33)
  Pole de Mathematiques, INSA-Lyon             fax : (33)
  20, rue Albert Einstein
  69621 Villeurbanne Cedex, FRANCE


reply via email to

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