# General Discussion

**URL:** https://community.freefem.org/c/general-discussion/7.md?page=70

[Latest](https://community.freefem.org/latest.md) · [Categories](https://community.freefem.org/categories.md)

**Page:** 71

---

## [Exec error : periodic: Sorry one vertex of face is losted](https://community.freefem.org/t/exec-error-periodic-sorry-one-vertex-of-face-is-losted/456)

<div class="topic-metadata">

**Author:** [@abou](https://community.freefem.org/u/abou)\
**Replies:** 8\
**Last updated:** [June 6, 2020, 4:16pm UTC](https://community.freefem.org/t/exec-error-periodic-sorry-one-vertex-of-face-is-losted/456 "2020-06-06T16:16:40Z")

</div>

Hello i am trying to define the periodicity on a side composed of the side of a cube plus a side of a quarter sphere. I firstly mesh the geometry with Gmsh and read it with FreeFem++ and I get this error: read mesh ok …

---

## [Compilation error in a code](https://community.freefem.org/t/compilation-error-in-a-code/450)

<div class="topic-metadata">

**Author:** [@sumantkr](https://community.freefem.org/u/sumantkr)\
**Replies:** 6\
**Last updated:** [June 4, 2020, 2:17am UTC](https://community.freefem.org/t/compilation-error-in-a-code/450 "2020-06-04T02:17:01Z")

</div>

Dear All, I am trying to compile a code for non dimensional equation and unfortunately I am getting error (mentioned below): it seems some value of variable is large that could not be operated within the freefem. ki…

---

## [Boundary conditions for Cantilever Beam Model in 3D](https://community.freefem.org/t/boundary-conditions-for-cantilever-beam-model-in-3d/454)

<div class="topic-metadata">

**Author:** [@pdapte1999](https://community.freefem.org/u/pdapte1999)\
**Replies:** 2\
**Last updated:** [June 3, 2020, 4:44pm UTC](https://community.freefem.org/t/boundary-conditions-for-cantilever-beam-model-in-3d/454 "2020-06-03T16:44:42Z")

</div>

Dear all, The documentation has an example of beam3d. Can anyone help me to model a cantilever beam in 3D which has slope as zero at the fixed end? Thanks

---

## [Trouble compiling weak form terms in 3d NSE simulation](https://community.freefem.org/t/trouble-compiling-weak-form-terms-in-3d-nse-simulation/440)

<div class="topic-metadata">

**Author:** [@JeffB](https://community.freefem.org/u/JeffB)\
**Replies:** 4\
**Last updated:** [June 2, 2020, 4:42pm UTC](https://community.freefem.org/t/trouble-compiling-weak-form-terms-in-3d-nse-simulation/440 "2020-06-02T16:42:56Z")

</div>

Hello, I am trying to implement a numerical solver for the 3d Eithier-Steinman flow, and I am getting a curious error when I try to compile and run the code. The following is my .edp file //Load necessary packages for o…

---

## [Beam deformation and Stress Field plots](https://community.freefem.org/t/beam-deformation-and-stress-field-plots/441)

<div class="topic-metadata">

**Author:** [@pdapte1999](https://community.freefem.org/u/pdapte1999)\
**Replies:** 4\
**Last updated:** [May 30, 2020, 1:44pm UTC](https://community.freefem.org/t/beam-deformation-and-stress-field-plots/441 "2020-05-30T13:44:26Z")

</div>

Dear all, Please let me know how to plot the stress field for a model of beam. I have gone through the example beam-3D available in the examples. What changes can I make to plot the stress field? Thanks.

---

## [Error reading 3D gmsh mesh](https://community.freefem.org/t/error-reading-3d-gmsh-mesh/446)

<div class="topic-metadata">

**Author:** [@zese](https://community.freefem.org/u/zese)\
**Replies:** 0\
**Last updated:** [May 30, 2020, 11:58am UTC](https://community.freefem.org/t/error-reading-3d-gmsh-mesh/446 "2020-05-30T11:58:38Z")

</div>

Dear users I want to read a 3D gmsh (\*.msh) file in freefem but it shows me the following error: Err Border element not in mesh 0 140 141 3022 1 113 114 3018 2 119 120 3019 3 138 139 3024 4 40 126 3020 5 1…

---

## [How do I add meshes?](https://community.freefem.org/t/how-do-i-add-meshes/442)

<div class="topic-metadata">

**Author:** [@QuantumNovice](https://community.freefem.org/u/QuantumNovice)\
**Replies:** 1\
**Last updated:** [May 30, 2020, 8:11am UTC](https://community.freefem.org/t/how-do-i-add-meshes/442 "2020-05-30T08:11:42Z")

</div>

border top… border left… border right… border bottom… mesh room1 = buildmesh(top+left+right+bottom) mesh room2 = buildmesh(top\_2+left\_2+right\_2+bottom\_2) How do I do something like this mesh floor\_plan = room1 + …

---

## [Accuracy of H(div) finite elements](https://community.freefem.org/t/accuracy-of-h-div-finite-elements/444)

<div class="topic-metadata">

**Author:** [@pazathoth](https://community.freefem.org/u/pazathoth)\
**Replies:** 0\
**Last updated:** [May 30, 2020, 7:07am UTC](https://community.freefem.org/t/accuracy-of-h-div-finite-elements/444 "2020-05-30T07:07:40Z")

</div>

Dear FreeFem++ community, I am using H(div) finite elements for Maxwell’s equations and I have a few questions regarding the accuracy of the implementations. For some cases, I have an analytical expression of the vector…

---

## [Mesh a cube with a sphere on the side](https://community.freefem.org/t/mesh-a-cube-with-a-sphere-on-the-side/424)

<div class="topic-metadata">

**Author:** [@abou](https://community.freefem.org/u/abou)\
**Replies:** 9\
**Last updated:** [May 28, 2020, 10:32pm UTC](https://community.freefem.org/t/mesh-a-cube-with-a-sphere-on-the-side/424 "2020-05-28T22:32:57Z")

</div>

Dear All I’d like to mesh a cube with a sphere on the side. i use" tetgen". There is the code FreeFem++ load “msh3” load “TetGen” load “medit” include “MeshSurface.idp” // Parameters real hs = 0.1; //mesh size o…

---

## [Function with multiple outputs?](https://community.freefem.org/t/function-with-multiple-outputs/436)

<div class="topic-metadata">

**Author:** [@BeniaminBogosel](https://community.freefem.org/u/BeniaminBogosel)\
**Replies:** 2\
**Last updated:** [May 28, 2020, 3:11pm UTC](https://community.freefem.org/t/function-with-multiple-outputs/436 "2020-05-28T15:11:04Z")

</div>

Is it possible to have functions in FreeFEM with multiple outputs? For example sometimes I need the function value, the gradient and the Hessian of some function defined with \`func’. Is it possible to output them all, or…

---

## [Adjacency matrix of cells](https://community.freefem.org/t/adjacency-matrix-of-cells/433)

<div class="topic-metadata">

**Author:** [@e-aranda](https://community.freefem.org/u/e-aranda)\
**Replies:** 0\
**Last updated:** [May 26, 2020, 9:25am UTC](https://community.freefem.org/t/adjacency-matrix-of-cells/433 "2020-05-26T09:25:08Z")

</div>

Hi, is there a quick way to get the cell adjacency matrix of a triangulation?

---

## [Table of fespace](https://community.freefem.org/t/table-of-fespace/431)

<div class="topic-metadata">

**Author:** [@amina](https://community.freefem.org/u/amina)\
**Replies:** 1\
**Last updated:** [May 26, 2020, 4:27am UTC](https://community.freefem.org/t/table-of-fespace/431 "2020-05-26T04:27:03Z")

</div>

Hello all, Is it possible to create a table of FE spaces in Freefem? I need something like fespace\[int\] Uhi(10); Unfortunately, this command doesn’t work for fespace, although it works for all the rest (mesh, real…) T…

---

## [File log at the end](https://community.freefem.org/t/file-log-at-the-end/414)

<div class="topic-metadata">

**Author:** [@fffm\_84](https://community.freefem.org/u/fffm_84)\
**Replies:** 9\
**Last updated:** [May 23, 2020, 7:20pm UTC](https://community.freefem.org/t/file-log-at-the-end/414 "2020-05-23T19:20:17Z")

</div>

Hi everybody!!! There is a way to not create file log at the end of the running script??

---

## [Non-linear elasticity Example](https://community.freefem.org/t/non-linear-elasticity-example/427)

<div class="topic-metadata">

**Author:** [@geoyanzhan3](https://community.freefem.org/u/geoyanzhan3)\
**Replies:** 2\
**Last updated:** [May 23, 2020, 2:04pm UTC](https://community.freefem.org/t/non-linear-elasticity-example/427 "2020-05-23T14:04:16Z")

</div>

Hi FreeFEM team, In the line 124 of the code for the Non-linear elasticity Example (https://doc.freefem.org/models/non-linear-elasticity.html), why only “un” is updated? Why we don’t need to update “vn” (e.g., vn\[\] -= v…

---

## [Mesh a basic structure frame](https://community.freefem.org/t/mesh-a-basic-structure-frame/426)

<div class="topic-metadata">

**Author:** [@minhngo97](https://community.freefem.org/u/minhngo97)\
**Replies:** 1\
**Last updated:** [May 22, 2020, 3:42pm UTC](https://community.freefem.org/t/mesh-a-basic-structure-frame/426 "2020-05-22T15:42:02Z")

</div>

Dear all, I’d like to mesh a basic structure frame like a picture in the link below. This is my code. // Mesh border a(t=5,10) { x=t; y=10 ;label=98;}; // topbeam 98 border b(t=0,5) { x=t; y=t+5 ;label=84;}; /…

---

## [Continuum Damage Mechanics (2D Notched Beam)](https://community.freefem.org/t/continuum-damage-mechanics-2d-notched-beam/425)

<div class="topic-metadata">

**Author:** [@geoyanzhan3](https://community.freefem.org/u/geoyanzhan3)\
**Replies:** 0\
**Last updated:** [May 21, 2020, 8:30pm UTC](https://community.freefem.org/t/continuum-damage-mechanics-2d-notched-beam/425 "2020-05-21T20:30:23Z")

</div>

Hi, Does anyone, by chance, know how to implement FEA for the continuum damage mechanics? I have questions on how to use the Newton-Raphson method to calculate the damage propagation. Currently, I am building a 2D Not…

---

## [Velocity profile](https://community.freefem.org/t/velocity-profile/422)

<div class="topic-metadata">

**Author:** [@amina](https://community.freefem.org/u/amina)\
**Replies:** 0\
**Last updated:** [May 20, 2020, 4:36am UTC](https://community.freefem.org/t/velocity-profile/422 "2020-05-20T04:36:28Z")

</div>

Hello, I am solving Navier Stokes-equations in 2D and I would like to plot the velocity profile along a given abscissa, say x=x0. Is there a plot option to display an approximation this curve? Thanks!

---

## [" Killed " Output keyword meaning](https://community.freefem.org/t/killed-output-keyword-meaning/420)

<div class="topic-metadata">

**Author:** [@saptarshi](https://community.freefem.org/u/saptarshi)\
**Replies:** 0\
**Last updated:** [May 20, 2020, 1:51am UTC](https://community.freefem.org/t/killed-output-keyword-meaning/420 "2020-05-20T01:51:45Z")

</div>

While running a code in FreeFem++ I am getting an output : Killed . I will copy the last three lines of output from my output terminal . SolverGMRES::dosolver1 1e-06 472592 4 fgmres: 0 residus 0 5.10454e+06 Cl: 5.1045…

---

## [Analyze Custom-generated mesh](https://community.freefem.org/t/analyze-custom-generated-mesh/418)

<div class="topic-metadata">

**Author:** [@Carbaholic](https://community.freefem.org/u/Carbaholic)\
**Replies:** 5\
**Last updated:** [May 19, 2020, 7:30pm UTC](https://community.freefem.org/t/analyze-custom-generated-mesh/418 "2020-05-19T19:30:00Z")

</div>

Is it possible to directly create nodes and elements in FreeFEM? I am working on a structural optimization application and I am doing the meshing myself. I couldn’t find anything in the documentation. Regards, Eric

---

## [Does FreeFEM support meshes with hanging nodes?](https://community.freefem.org/t/does-freefem-support-meshes-with-hanging-nodes/363)

<div class="topic-metadata">

**Author:** [@Pratikk17](https://community.freefem.org/u/Pratikk17)\
**Replies:** 3\
**Last updated:** [May 19, 2020, 5:40pm UTC](https://community.freefem.org/t/does-freefem-support-meshes-with-hanging-nodes/363 "2020-05-19T17:40:39Z")

</div>

Hi, I have created a nonconforming mesh( with hanging node) in .msh format using Matlab. I need to solve the Laplace equation with homogeneous Dirichlet boundary conditions using CG/DG method. I can import this mesh int…

---

## [Setting labels for surfaces at time of square3 meshS creation](https://community.freefem.org/t/setting-labels-for-surfaces-at-time-of-square3-meshs-creation/416)

<div class="topic-metadata">

**Author:** [@aaron1d](https://community.freefem.org/u/aaron1d)\
**Replies:** 6\
**Last updated:** [May 17, 2020, 7:08am UTC](https://community.freefem.org/t/setting-labels-for-surfaces-at-time-of-square3-meshs-creation/416 "2020-05-17T07:08:51Z")

</div>

I’m making a somewhat complex 3d geometry, with lots of meshS pieces glued together. I can’t seem to find a way to set the label for each surface (needed for some boundary conditions) in the same line that I create the m…

---

## [Laplace equation with integral constraint](https://community.freefem.org/t/laplace-equation-with-integral-constraint/208)

<div class="topic-metadata">

**Author:** [@denis.crete](https://community.freefem.org/u/denis.crete)\
**Replies:** 13\
**Last updated:** [May 16, 2020, 5:43pm UTC](https://community.freefem.org/t/laplace-equation-with-integral-constraint/208 "2020-05-16T17:43:59Z")

</div>

Hello, I would like to calculate the current distribution in a set of (superconducting) striplines (they are parallel and “infinite”). Usually, the total current I\_bias circulating in a (single) stripline is an input d…

---

## [Partition matrices for a coupled problem](https://community.freefem.org/t/partition-matrices-for-a-coupled-problem/375)

<div class="topic-metadata">

**Author:** [@Julien](https://community.freefem.org/u/Julien)\
**Replies:** 9\
**Last updated:** [May 14, 2020, 9:27am UTC](https://community.freefem.org/t/partition-matrices-for-a-coupled-problem/375 "2020-05-14T09:27:01Z")

</div>

Hi, I want to solve a coupled problem of vibro-acoustic. The variationnal formulation gives me 5 matrices, (K,M) for elasticity, (H,Q) for acoustic and C the coupled matrix. Then we obtain two global matrices : Kglo…

---

## [Adaptive error indicator](https://community.freefem.org/t/adaptive-error-indicator/410)

<div class="topic-metadata">

**Author:** [@shymath126.com](https://community.freefem.org/u/shymath126.com)\
**Replies:** 0\
**Last updated:** [May 13, 2020, 11:32pm UTC](https://community.freefem.org/t/adaptive-error-indicator/410 "2020-05-13T23:32:09Z")

</div>

Hi, every one! I am trying to implement the right code which is about an adaptive error indicator, it works very well with the old version, i.e., 2.19, but the results were computed by the latest version is weird, I don…

---

## [Usage of nloptLBFGS - interpret error](https://community.freefem.org/t/usage-of-nloptlbfgs-interpret-error/408)

<div class="topic-metadata">

**Author:** [@BeniaminBogosel](https://community.freefem.org/u/BeniaminBogosel)\
**Replies:** 1\
**Last updated:** [May 13, 2020, 10:16pm UTC](https://community.freefem.org/t/usage-of-nloptlbfgs-interpret-error/408 "2020-05-13T22:16:17Z")

</div>

Hello, I want to use nloptLBFGS for an optimization problem. I managed to get a minimal test running, but when I try to apply the same syntax to the problem of interest I get the error below. It talks about a macro error…

---

## [Freefem mesh file](https://community.freefem.org/t/freefem-mesh-file/403)

<div class="topic-metadata">

**Author:** [@mrbenson](https://community.freefem.org/u/mrbenson)\
**Replies:** 0\
**Last updated:** [May 12, 2020, 10:49pm UTC](https://community.freefem.org/t/freefem-mesh-file/403 "2020-05-12T22:49:33Z")

</div>

Hi, I read that the freefem mesh format can define an additional geometry. As far i understand VertexOnGeometricVertex and EdgeOnGeometricEdge refer to all vertices and edges of the geometry (boundary and interior) but …

---

## [Export meshes in patches](https://community.freefem.org/t/export-meshes-in-patches/401)

<div class="topic-metadata">

**Author:** [@otaolafr](https://community.freefem.org/u/otaolafr)\
**Replies:** 2\
**Last updated:** [May 12, 2020, 9:36am UTC](https://community.freefem.org/t/export-meshes-in-patches/401 "2020-05-12T09:36:33Z")

</div>

Hello, I am doing my research with CFD and finite volumes simulations with another application based in C++ language (OpenFOAM). I have found myself with a current issue, that the meshes I export even with small featur…

---

## [Principal Stress/Strain Calculation](https://community.freefem.org/t/principal-stress-strain-calculation/398)

<div class="topic-metadata">

**Author:** [@geoyanzhan3](https://community.freefem.org/u/geoyanzhan3)\
**Replies:** 2\
**Last updated:** [May 11, 2020, 12:50pm UTC](https://community.freefem.org/t/principal-stress-strain-calculation/398 "2020-05-11T12:50:14Z")

</div>

Hi, I am building a 2d/3d elasticity model. By following the tutorial (e.g., Beam\_3d.edp), I can solve the stresses {Sxx, Syy, Sxy} (in 2d) or {Sxx, Syy, Szz, Sxy, Syz, Sxz} (in 3d). Can I further calculate the princip…

---

## [Cylindrical Coordinates and the jacobian](https://community.freefem.org/t/cylindrical-coordinates-and-the-jacobian/393)

<div class="topic-metadata">

**Author:** [@kevinmo08](https://community.freefem.org/u/kevinmo08)\
**Replies:** 2\
**Last updated:** [May 8, 2020, 4:56am UTC](https://community.freefem.org/t/cylindrical-coordinates-and-the-jacobian/393 "2020-05-08T04:56:44Z")

</div>

Hi everyone, I have a question about the tutorial discussing the thermal conduction of a rod with a circular section. https://doc.freefem.org/tutorials/thermalConduction.html#axisymmetry-3d-rod-with-circular-section In…

---

## [Variational Formulation in Polar Coordinates](https://community.freefem.org/t/variational-formulation-in-polar-coordinates/395)

<div class="topic-metadata">

**Author:** [@kevinmo08](https://community.freefem.org/u/kevinmo08)\
**Replies:** 1\
**Last updated:** [May 8, 2020, 4:59am UTC](https://community.freefem.org/t/variational-formulation-in-polar-coordinates/395 "2020-05-08T04:59:56Z")

</div>

Hi all, I am interested in solving a problem similar to reaction-diffusion with a circular disk in solution and symmetry in theta. I am using FreeFem++ to solve this problem, and I’ve noticed that the example in the doc…

[Previous page](https://community.freefem.org/c/general-discussion/7.md?page=69)

[Next page](https://community.freefem.org/c/general-discussion/7.md?page=71)
