Commit Graph

4573 Commits

Author SHA1 Message Date
Chris Hennes
e7069e6797 Update translations. 2024-04-17 16:50:38 -05:00
wmayer
2d1153d72e Mod: Adjust parent class for Python wrappers 2024-04-09 22:15:51 +02:00
marioalexis84
2c593b67b4 Fem: Fix display modes order - fixes #13326 (#13358) 2024-04-08 18:15:12 +02:00
FEA-eng
b4c37e4d97 Add uncoupled temp-disp and heat transfer CalculiX FEM analysis types (#13296)
* FEM: Update solver.py

* FEM: Update write_step_equation.py

* FEM: fix temperature only analysis

---------

Co-authored-by: lyphrowny <strukov.as@edu.spbstu.ru>
2024-04-08 18:08:16 +02:00
lyphrowny
725d70ff55 FEM: add tests directory for function tests; add tests for parse_diff 2024-04-08 18:06:17 +02:00
lyphrowny
4e54d436fc FEM: add floating point comparison for tests 2024-04-08 18:06:17 +02:00
lyphrowny
d2e355c836 FEM: migrate calculix tests to ccxtools tests 2024-04-08 18:02:33 +02:00
Florian Foinant-Willig
d46f424a6a FEM: allow to Suppress the constraints (#12359)
* FEM: Introduce suppressible constraints

* fix public inheritance
2024-04-08 10:43:54 -05:00
David Carter
ba20441935 Material: Material appearance
Uses new material system for appearance

Each feature object now has a property called ShapeMaterial that
describes its physical properties. If it has a shape, it has a
material.

The ShapeColor attribute is replaced by a ShapeAppearance attribute.
This is a material list that describes all appearance properties, not
just diffuse color. As a list in can be used for all elements of a
shape, such as edges and faces.

A new widget is provided to allow the user to select materials in a
consistent fashion. It can also launch the material editor with its
more advanced capabilities.
2024-04-04 07:39:58 -05:00
FEA-eng
d459a9cb40 FEM: Update constraint_contact_solid_solid.py 2024-04-03 18:48:45 +02:00
FEA-eng
5d394ba2e8 FEM: Update exportNastranMesh.py 2024-04-03 18:48:45 +02:00
FEA-eng
7cdfb95a6b FEM: Update ccxtools.py 2024-04-03 18:48:45 +02:00
FEA-eng
09e9bc4168 FEM: Update ccx_cantilever_beam_rect.py 2024-04-03 18:48:45 +02:00
wmayer
30341ee8d7 FEM: do not copy __init__.py from z88 into its sub-directories with INSTALL target 2024-04-02 17:44:28 +02:00
FEA-eng
5bab520175 FEM: Update importToolsFem.py 2024-04-02 15:27:13 +02:00
wmayer
a4cd7f6012 FEM: Handle unknown exception when applying a constraint to a B-Spline surface
Fixes #13213

An OCC exception is raised when trying to normalize a null vector. The solution is to check the square length before normalizing it
2024-04-01 19:38:28 +02:00
sliptonic
a77afda2da Merge pull request #13130 from maxwxyz/fem-icons
UI: update FEM icons
2024-04-01 11:16:09 -05:00
FEA-eng
cb6c092958 FEM: Update ObjectsFem.py 2024-04-01 11:04:56 -05:00
marioalexis
1b379c916a Fem: Improve post-processing object style - fixes #13017 2024-04-01 11:04:29 -05:00
lyphrowny
e99ee08514 FEM: Fix cxx typo and remove calculix from solvers tab in examples (#12876)
* FEM: remove calculix from solvers

* FEM: remove calculix from joint with ccxtools if branches

* FEM: remove calculix from its if

* FEM: fix cxx typo in translations

* FEM: fix cxx typo in classes name

* FEM: fix ccx typo in shortcuts

* FEM: convert FEM_*CcxTools to CamelCase

* FEM: remove tests related to calculix

* FEM: remove test_solver_calculix.py from Fem/CMakeLists.txt

* FEM: convert all 'CalculiXccxTools' to 'CalculiXCcxTools'

* FEM: revert changes in all *_*.ts files

* FEM: convert 'SolverCcxtools' to 'SolverCcxTools'

* FEM: convert remaining 'Ccxtools' to 'CcxTools'
2024-04-01 10:51:23 -05:00
ppphp
8863b9ac4c fix: c++20 deprecate [=] 2024-03-31 10:47:32 +02:00
Chris Hennes
c37c32edc9 Merge pull request #13154 from chennes/translations20240325
Update translations and fix script
2024-03-28 13:51:39 -05:00
Chris Hennes
89907f6299 FEM: Rename vtkWriter to femVTKWriter to make MSVC happy 2024-03-27 12:08:29 +01:00
Max Wilfinger
937d6a5fdc update FEM icons 2024-03-26 18:48:40 +01:00
Chris Hennes
1a51c0cb57 Update translations 2024-03-25 18:08:22 -05:00
Chris Hennes
32a957bd07 Translation update: move Path to CAM 2024-03-25 17:32:59 -05:00
FEA-eng
e69976ebbb Merge branch 'FreeCAD:main' into fem_ccx_incrementation 2024-03-25 10:45:23 +01:00
FEA-eng
a2a24e78f9 FEM: Update DlgSettingsFemCcxImp.cpp 2024-03-25 10:44:29 +01:00
FEA-eng
3597301ec1 FEM: Update DlgSettingsFemCcx.ui 2024-03-24 19:12:30 +01:00
FEA-eng
6f1f431f83 FEM: Update DlgSettingsFemCcx.ui 2024-03-24 19:10:00 +01:00
wmayer
12cd8068f5 FEM: fix some linter warnings 2024-03-22 09:37:26 +01:00
marioalexis
f4bbfed153 Fem: Export PostObject data to VTK - fixes #5816 2024-03-21 20:38:05 -05:00
FEA-eng
edf639b4b4 FEM: Update solver.py 2024-03-21 12:30:01 +01:00
luzpaz
65cdbe3e89 Fix various typos throughout the codebase (#13029)
* Fix various typos throughout the codebase

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

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

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-03-18 16:54:30 -05:00
lyphrowny
be14bde507 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
Chris Hennes
be1476db62 FEM: Add two missing PreCompiled.h includes 2024-03-14 22:24:16 -05:00
FEA-eng
e606104a02 FEM: Update solver.py 2024-03-14 22:13:56 -05:00
Chris Hennes
5e1adf3755 Merge pull request #12932 from marioalexis84/fem-ccx_force_format
Fem: Format force constraint in CalculiX writer - fixes #12805
2024-03-13 18:17:11 -05:00
marioalexis
a02b561af2 Fem: Update force constraint .inp files 2024-03-13 17:26:13 -03:00
Chris Hennes
d393b9a19a Merge pull request #12918 from marioalexis84/fem-post_object_transparency
Fem: Partial transparency fix in FemPostObject display modes
2024-03-13 15:17:17 -05:00
marioalexis
9633214238 Fem: Format force constraint in CalculiX writer - fixes #12805 2024-03-13 14:50:24 -03:00
marioalexis
1614449727 Fem: Partial transparency fix in FemPostObject display modes 2024-03-13 05:50:27 -03:00
marioalexis
001487b933 Fem: Export/import mesh elements to Vtk using proper order 2024-03-13 05:50:17 -03:00
Chris Hennes
cc0564f8f2 FEM: Remove trailing spaces from translations 2024-03-12 22:42:19 -05:00
FEA-eng
835d23d09f Elmer FEM 2D flow examples fix (#12777)
* Update equation_flow_elmer_2D.py

* Update equation_flow_initial_elmer_2D.py

* Update equation_flow_turbulent_elmer_2D.py
2024-03-11 12:21:46 -05:00
FEA-eng
8ce8376271 Update meshtools.py (#12774) 2024-03-11 12:21:14 -05:00
mosfet80
7713a33d9b [MOD] clean SMESH (#12754)
removed old smesh CODE <7
2024-03-11 12:13:00 -05:00
marioalexis
d8012f74ba Fem: Add partial support for hexahedral elements - fixes #12526 2024-03-11 12:03:15 -05:00
FEA-eng
0aa2f283fa FEM CalculiX output frequency setting (#12672)
* Update solver.py

* Update write_step_output.py

* Update box_frequency.inp

* Update box_static.inp

* Update ccx_buckling_flexuralbuckling.inp

* Update ccx_cantilever_beam_circle.inp

* Update ccx_cantilever_beam_pipe.inp

* Update ccx_cantilever_beam_rect.inp

* Update ccx_cantilever_ele_hexa20.inp

* Update ccx_cantilever_ele_quad4.inp

* Update ccx_cantilever_ele_quad8.inp

* Update ccx_cantilever_ele_seg2.inp

* Update ccx_cantilever_ele_seg3.inp

* Update ccx_cantilever_ele_tria3.inp

* Update ccx_cantilever_ele_tria6.inp

* Update ccx_cantilever_faceload.inp

* Update ccx_cantilever_nodeload.inp

* Update ccx_cantilever_prescribeddisplacement.inp

* Update constraint_contact_shell_shell.inp

* Update constraint_sectionprint.inp

* Update constraint_selfweight_cantilever.inp

* Update constraint_tie.inp

* Update constraint_transform_beam_hinged.inp

* Update constraint_transform_torque.inp

* Update frequency_beamsimple.inp

* Update material_multiple_bendingbeam_fiveboxes.inp

* Update material_multiple_bendingbeam_fivefaces.inp

* Update material_multiple_tensionrod_twoboxes.inp

* Update material_nonlinear.inp

* Update square_pipe_end_twisted_edgeforces.inp

* Update square_pipe_end_twisted_nodeforces.inp

* Update thermomech_bimetall.inp

* Update box_frequency.inp
2024-03-11 12:02:41 -05:00
Chris Hennes
441d674545 Merge pull request #12066 from 3x380V/time_cleanup
Base: Use std::chrono for time manipulation
2024-03-05 15:47:33 -06:00