Commit Graph

92 Commits

Author SHA1 Message Date
marioalexis
eb82923869 Fem: Search elements for electrostatic constraints 2025-05-13 14:46:54 +02:00
Florian Foinant-Willig
065a8a2226 Core: Part::PartFeature should be Part::Feature 2025-04-21 10:51:15 -05:00
FEA-eng
1c35d08d87 FEM: Allow shell faces for tie constraint (#18325)
FEM: Update meshtools.py
2024-12-09 19:21:09 +01:00
marioalexis
96cc00b74e Fem: Check empty remaining femelements array - fixes #17570 2024-11-25 12:01:44 -05:00
Eric Price
c9874294af FEM: Allow assigning materials to compounds to avoid having to assign the same material by hand to all subsolids (#17562)
* fix #17561

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* added missing code to have it also work without MeshRegions

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-11-05 10:15:21 -06:00
lyphrowny
cbea6b6094 FEM: reformat codebase 2024-06-23 16:26:36 +03:00
marioalexis
8ec0916efb Fem: Add body heat source to CalculiX writer - fixes #11650 2024-06-02 18:38:15 -03:00
marioalexis
618592ea91 Fem: Remove unused functions 2024-04-16 11:28:52 -03:00
lyphrowny
6bdff4769e FEA: fix 1d beam cross section orientation (#12833)
* FEA: fix 1d beam cross section orientation

* FEM: revert 1,2-directions to FreeCAD way; fix normal direction for z<0

* FEM: change 1-direction to +y axis

Previous commit changes the 1-direction to -y axis, however originally it was directed at +y axis. This commit makes the 1-direction face +y axis

* FEM: update cantilever tests

* FEM: relax math.isclose by adding abs tolerance
2024-03-18 18:16:10 +01:00
FEA-eng
b92e3477f5 Update meshtools.py (#12774) 2024-03-11 12:21:14 -05:00
FEA-eng
7eae061bf1 FEM CalculiX 2D mechanical analyses (plane stress, plane strain and axisymmetric) (#12562) 2024-03-02 11:46:18 -06:00
marioalexis
5938489654 Fem: Update constraint symbols when moving reference shape - fixes #6093 2024-02-26 04:01:28 -03:00
marioalexis84
4932f17dc5 Fem: Enable checkbox for references mesh groups - fixes #10071 (#12437) 2024-02-24 10:29:00 -06:00
FEA-eng
9a0e40feec FEM: Beam reduced integration (#12513) 2024-02-22 15:30:47 -06:00
luzpaz
e9f9e441fc Fix typos 2023-12-22 13:35:23 +00:00
DeflateAwning
8de6db3e97 Find and replace http://freecad.org to https://freecad.org
Find and replace:
http:\/\/(.{0,10})freecad
https://$1freecad
Done in all remaining files (after doing it in SVGs in the last commit)
2023-10-29 22:39:22 -06:00
Uwe
f9930d883d Fem: Change ConstraintPressure::Force property to App::PropertyForce 2023-10-04 17:03:28 -03:00
Roy-043
3e2c766800 FEM: Avoid dictionary.keys() where possible 2023-08-16 16:47:27 +02:00
luzpaz
129d5882a7 Migrate domain name from freecadweb to freecad (#9352)
* Migrate domain name from freecadweb to freecad
* Migrate src/Mod/Material files
* Migrate Stylesheet related files
* Migrate *.svg files
* Migrate miscellaneous files
* Migrate some build files
* Migrate recently added TD AR_IRAM template files

Closes #6415
2023-04-24 15:19:20 -05:00
lorenz
8b0df1dc93 FEM: femmesh: fix AttributeError: module 'numpy' has no attribute 'int' 2022-12-28 12:07:51 +01:00
Bernd Hahnebach
e49abfb350 FEM: python code formatting 2022-07-12 15:04:26 +02:00
luz paz
089c975a73 FEM: minor fix in warning text [skip ci] 2022-03-23 23:59:22 +01:00
Philipp Knechtges
2336ea1b59 [FEM] speed up get_femelement_sets in meshtools.py
The previous implementation was quite slow in filling up the remaining_femelements list.
The new implementation fixes this by using numpy for the heavy work.
2022-01-07 01:23:01 +01:00
luz paz
0042f58e4c Make source code comments use gender neutral pronouns
The changes also include some grammatical fixes as well.
2021-12-02 16:18:04 -05:00
Bernd Hahnebach
4dbd2c36da FEM: do not use the red error print if it is not a error 2021-08-06 21:35:01 +02:00
Bernd Hahnebach
e197c3ab9f FEM: calculix writer, beam cross section angle, improvements and fixes 2021-08-04 15:52:00 +02:00
Bernd Hahnebach
3962c347ac FEM: meshtools, fix node count in newly add mesh type method, regressin wass added in ff5509f855 2021-07-30 16:10:16 +02:00
Bernd Hahnebach
ff5509f855 FEM: meshtools, add generic method to return femmesh type 2021-07-29 18:19:42 +02:00
UR-0
974f41e0cc 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
a62b5b314b FEM: code formatting, revert parts of commit f4a65dcbb6 2021-02-16 16:17:47 +01:00
Bernd Hahnebach
bf221af686 FEM: mesh tools, add a comment 2021-01-17 23:46:49 +01:00
luz paz
f4a65dcbb6 FEM: doxygen 2020-12-04 17:50:00 +01:00
Bernd Hahnebach
a10f19f0a0 FEM: coverity, Null pointer dereferences 2020-07-20 22:33:54 +02:00
Bernd Hahnebach
1fe43280ca FEM: meshtools, better comment 2020-06-30 22:27:24 +02:00
Bernd Hahnebach
c4b0635361 FEM: mesh tools, compact mesh, use one id for Edges, Faces and Volumes as SMESH does save it 2020-06-30 19:26:04 +02:00
Bernd Hahnebach
61d767a6d2 FEM: material object, change type 2020-05-21 23:12:08 +02:00
Bernd Hahnebach
45aef7b028 FEM: meshtools, init empty node numbers in face search 2020-04-19 21:57:54 +02:00
Bernd Hahnebach
a020dc2afc FEM: meshtools, fix element names in face search 2020-04-19 21:38:09 +02:00
Bernd Hahnebach
656087fb98 FEM: mesh tools, better logs 2020-04-17 21:11:28 +02:00
Bernd Hahnebach
f0061fadeb FEM: group meshing, fix retriving group elements in rare cases 2020-04-15 10:50:02 +02:00
Bernd Hahnebach
6c399ae851 FEM: geom tools, move get element 2020-03-27 06:00:24 +01:00
Bernd Hahnebach
5d9bb6a9f0 FEM: geom tools, move find element in shape and is same geometry from meshtools 2020-03-27 06:00:18 +01:00
Bernd Hahnebach
e61699fc95 FEM: geom tools, add new module and move some geom tools from mesh tools in 2020-03-27 06:00:13 +01:00
Bernd Hahnebach
2c30b1cfdc FEM: some modules, better document handling 2020-03-14 21:45:24 +01:00
luz.paz
8624564469 [skip ci] Fix typos
Found via `codespell`
2020-03-09 16:23:26 +01:00
luz.paz
180805c55e Fix typos
Found via  
```
codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,ba,beginn,behaviour,bloaded,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childs,colour,colours,commen,connexion,currenty,dof,doubleclick,dum,eiter,elemente,ende,feld,finde,findf,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,ist,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oder,orgin,orginx,orginy,ot,pard,pres,programm,que,recurrance,rougly,seperator,serie,sinc,strack,substraction,te,thist,thru,tread,uint,unter,vertexes,wallthickness,whitespaces -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller,./src/Doc/FreeCAD.uml
```
2020-03-06 14:50:35 +01:00
Bernd Hahnebach
5a5753af8d FEM: element geometry types, same name type system as Python constraints 2020-03-02 20:54:44 +01:00
Bernd Hahnebach
d52cde9b81 FEM: mesh tools, better type checking 2020-03-02 20:54:36 +01:00
Bernd Hahnebach
b1a95ff078 FEM: mesh tools, better logging 2020-03-01 23:31:11 +01:00
Bernd Hahnebach
2d6aa10b69 FEM: meshtools, fix regression introduced with 63f34531 2020-03-01 22:08:06 +01:00