Commit Graph

136 Commits

Author SHA1 Message Date
Uwe
32d74bb0ca [FEM] potential constraint: change default value
- in practice one wants to apply potentials to faces via this constraint, therefore enable to set a potential by default, also assure that the initial unit is V
2022-08-15 02:41:35 +02:00
Uwe
25a829bd0c [FEM] add initial pressure constraint (#7364)
* [FEM] add initial pressure constraint

- this is needed for fluids
2022-08-14 20:00:36 +02:00
Uwe
4218fb280a [FEM] permittivity: improve code
- in commit 2f0824be I hard-coded the permittivity incorrectly
2022-08-14 19:12:59 +02:00
Uwe
865481fcf4 [FEM] fix handling of vacuum permittivity
- fix message that permittivity object was not handled
- set an expression, otherwise the user gets only "0.000" for the default of 8.8e-12
- use as unit the common "F/m" (this is also more user-friendly than "s^4*A^2 / (m^3*kg)")
- fix a ToDo
2022-08-14 17:59:42 +02:00
Uwe
a2ac0ddc9a [FEM] Flow constraints: fix wrong tooltips 2022-08-13 03:35:22 +02:00
Uwe
49d4b75716 [FEM] [skip CI] formatting fix for potential 2022-08-10 13:42:29 +02:00
Uwe
b458ef0208 [FEM] Constraint: BodeHeat: fix regression from commit 4a349525
- a simple indentation mistake
2022-07-31 21:17:52 +02:00
Uwe
9c7af25d26 [FEM] BodyHeat constraint: hide unused property
- the constraint does not take a references and when trying to set one as user because one thinks this empty property must be set, one gets a recompute error
2022-07-27 02:55:29 +02:00
Uwe
4325f0386c [FEM] update bodyHeatSource
- to the state of the other constraints

(this constraint is currently completely broken by the way)
2022-07-26 01:47:09 +02:00
Bernd Hahnebach
41a8ed83af FEM: python code formatting 2022-07-12 15:04:26 +02:00
Uwe
a5b86128be [FEM] Elecrostatic: use App::PropertyElectricPotential 2022-03-26 02:29:19 +01:00
Ajinkya Dahale
0327a09879 [FEM] Add backward compatibility for simple hardening
Prior to a recent commit (or this, if squashed), yield points of a non-linear
material with simple hardening were stored as three different properties. These
changes consolidate them into the new `YieldPoints` property.
2021-09-17 11:07:16 +02:00
Ajinkya Dahale
16a82d1eb7 [FEM] Add tools for more yield points in simple hardening materials
String List instead of String should allow for arbitrarily many entries,
theoretically.

Note the defaults previously in `YieldPoint1` an `YieldPoint2` were arbitrary.
Now the list is kept empty by default.

Fixes issue #4720.
2021-09-17 11:07:16 +02:00
UR-0
cc97865141 FEM: constraint centrif, App objects and methods:
- CalculiX centrifugal body loads
- CalculiX label CENTRIF from *DLOAD card
- implement FreeCAD NonGui code
- the object, ccx writer, etc
2021-07-09 22:03:58 +02:00
Bernd Hahnebach
8974e228b8 FEM: solver calcilix, implement missing document restore for missing attributes for buckling analyisie FINISH BITTE 2021-06-17 06:40:45 +02:00
Bernd Hahnebach
f0b3231c32 FEM: mesh gmsh object, improve code in on doc restore 2021-06-17 06:40:34 +02:00
Uwe
d573386ec1 [FEM] add support for 3D recombinations (#4706)
* [FEM] add support for 3D recombinations

currently we only support surface recombinations but for some applications 3D recombinations are useful as well

* add support for the recombination algorithms

using a sensible algorithm is important to get useful results, see https://wiki.freecadweb.org/FEM_MeshGmshFromShape#Properties
where I described examples
2021-04-13 07:32:44 +02:00
donovaly
58b0dd38c2 [FEM] proper support for Gmsh HighOrder optimization
There are 4 optimizers available while we only supported 1. This PR adds support for all.
2021-04-08 13:29:50 +02:00
Bernd Hahnebach
ec7bffa94b FEM: gmsh mesh, set back standard element order to 2nd, changed in eefb6bc0babf, 2021-03-24 17:05:06 +01:00
donovaly
ac6f25ea4a [FEM] add mesh algorithms
- Gmsh has since a while 2 new mesh algorithms
- on the other hand the two algorithms ""Frontal Delaunay" and "Frontal Hex" are deprecated and not listed anymore in the docs: https://gmsh.info/doc/texinfo/gmsh.html#index-Mesh_002eAlgorithm3D
and indeed all attempts with these 2 algorithms fail
2021-03-24 17:01:47 +01:00
donovaly
21e511f63f [FEM] add GMSH mesh order setting to dialog
- also set default to 1st order mesh
2021-03-24 17:00:12 +01:00
Bernd Hahnebach
cd0f3405ee FEM: pep8 2021-03-13 21:47:50 +01:00
UR-0
de9329a6c1 [FEM]implement Gmsh mesh property "MeshSizeFromCurvature" 2021-03-13 21:13:30 +01:00
Bernd Hahnebach
3c1d251014 FEM: code formatting, revert parts of commit 058582edb5b 2021-02-16 16:17:47 +01:00
luz paz
55f471b72c FEM: doxygen 2020-12-04 17:50:00 +01:00
luz paz
ebc0ef5d53 FEM: remove superfluous 'pass'
Fixes LGTM alert  
Per the documentation:  
```
A 'pass' statement is only necessary when it is the only statement in a block (the list of statements forming part of a compound statement). This is because the purpose of the 'pass' statement is to allow empty blocks where they would otherwise be syntactically invalid. If the block already contains other statements then the 'pass' statement is unnecessary.
```
2020-11-10 23:20:23 +01:00
Bernd Hahnebach
20cb8e2480 FEM: vtk pipeline, and frd reader, principal stress, revert and improve 35cf9681cc5b 2020-07-14 13:26:57 +02:00
Bernd Hahnebach
84aba55ea8 FEM: constant vacuum permittivity, add object to overwrite constant 2020-06-29 17:46:43 +02:00
UR-0
337c935f20 FEM: ccx constraint section print, add object 2020-06-24 07:52:16 +02:00
Bernd Hahnebach
419b2addc0 FEM: constraint electrostatic potential, better addition of attributs 2020-06-04 08:55:09 +02:00
Bernd Hahnebach
8650fb9d16 FEM gmsh mesh, set SecondOrderLinear standard to False 2020-05-27 17:57:05 +02:00
Bernd Hahnebach
0dc2fe0806 FEM: material common obj, fix category attribute 2020-05-26 08:27:27 +02:00
HoWil
137ade8c66 FEM: add elmer electric force equation object 2020-05-25 15:46:00 +02:00
Bernd Hahnebach
a5b0be0b4c FEM: add some comments to material and calculix solver object 2020-05-24 09:19:27 +02:00
Bernd Hahnebach
316891caea FEM: python base object, rename class and module 2020-05-22 01:08:10 +02:00
Bernd Hahnebach
3e34731831 FEM: material common, rename class and module 2020-05-22 01:08:08 +02:00
Bernd Hahnebach
f09e7b62d0 FEM: solver ccx tools, rename class and module 2020-05-22 01:08:06 +02:00
Bernd Hahnebach
8c3cc8fc6c FEM: result mechanical, rename class and module 2020-05-22 01:08:04 +02:00
Bernd Hahnebach
11de7a7ac2 FEM: mesh result, rename class and module 2020-05-22 01:08:02 +02:00
Bernd Hahnebach
cb0a26c5b6 FEM: mesh region, rename class and module 2020-05-22 01:08:00 +02:00
Bernd Hahnebach
08e71fdf4a FEM: mesh group, rename class and module 2020-05-22 01:07:58 +02:00
Bernd Hahnebach
32c9abdde9 FEM: mesh gmsh, rename class and module 2020-05-22 01:07:56 +02:00
Bernd Hahnebach
a33045ce13 FEM: mesh boundary layer, rename class and module 2020-05-22 01:07:54 +02:00
Bernd Hahnebach
a9c6db4e17 FEM: material reinforced, rename class and module 2020-05-22 01:07:51 +02:00
Bernd Hahnebach
d3339ddff5 FEM: material mechanical nonlinear, rename class and module 2020-05-22 01:07:49 +02:00
Bernd Hahnebach
e05794e1e8 FEM: element rotation 1D, rename class and module 2020-05-22 01:07:47 +02:00
Bernd Hahnebach
e0980b0e0a FEM: element geometry 2D, rename class and module 2020-05-22 01:07:45 +02:00
Bernd Hahnebach
ce6a244697 FEM: element geometry 1D, rename class and module 2020-05-22 01:07:43 +02:00
Bernd Hahnebach
43d3d6a3a7 FEM: element fluid 1D, rename class and module 2020-05-22 01:07:41 +02:00
Bernd Hahnebach
8bfad3aec5 FEM: constraint tie, rename class and module 2020-05-22 01:07:39 +02:00