Skip to content

FEM: Add basic ccx 1D fluid network example#29697

Merged
maxwxyz merged 3 commits intoFreeCAD:mainfrom
FEA-eng:fem_example_basic_fluid_network
Apr 29, 2026
Merged

FEM: Add basic ccx 1D fluid network example#29697
maxwxyz merged 3 commits intoFreeCAD:mainfrom
FEA-eng:fem_example_basic_fluid_network

Conversation

@FEA-eng
Copy link
Copy Markdown
Contributor

@FEA-eng FEA-eng commented Apr 29, 2026

Adds the first FEM Example for CalculiX's 1D fluid network functionality

@marioalexis84 FYI

FEA-eng added 2 commits April 29, 2026 14:57
adds a new FEM example for 1D fluid networks
adds new FEM Example to CMakeLists
@github-actions github-actions Bot added the Mod: FEM Related to the FEM Workbench label Apr 29, 2026
@FEA-eng
Copy link
Copy Markdown
Contributor Author

FEA-eng commented Apr 29, 2026

@marioalexis84 I used the old ccx solver on purpose because postprocessing with it is much easier for the specific case of fluid networks.

@marioalexis84
Copy link
Copy Markdown
Member

Note that the new solver shows the result properly in the pipeline. The old solver not.
What do you need in the new solver? The max and min values, like in the results object task panel?

@FEA-eng
Copy link
Copy Markdown
Contributor Author

FEA-eng commented Apr 29, 2026

What do you need in the new solver? The max and min values, like in the results object task panel?

Yes, I use the task panel of the old results object for these fluid network analyses. It’s the quickest way to check their results since the output of such 1D flow calculation is just pressure and mass flow rate at the outlet vs the corresponding inputs at the inlet (the main goal is to evaluate the pressure drop).

In fact, this keyword would also provide all the needed info here:

*NODE PRINT, NSET=Nall
U

But we don’t support it yet and it has to be interpreted carefully (since the results aren’t really displacements in this case).

# SPDX-License-Identifier: LGPL-2.1-or-later

# ***************************************************************************
# * Copyright (c) 2026 Jakub Michalski <jakub.j.michalski[at]gmail.com> *
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, fix the * position at the end

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, done

fixes the * position in the header
@FEA-eng
Copy link
Copy Markdown
Contributor Author

FEA-eng commented Apr 29, 2026

@maxwxyz This one is approved

@maxwxyz maxwxyz added Approved: Code Quality The PR was checked for code quality and approved Approved: Tested The PR was manually tested and approved labels Apr 29, 2026
@maxwxyz maxwxyz enabled auto-merge April 29, 2026 17:14
@maxwxyz maxwxyz moved this from Queue to Approved in Merge Queue Apr 29, 2026
@maxwxyz maxwxyz added this to the 1.2 milestone Apr 29, 2026
@maxwxyz maxwxyz merged commit 81470ca into FreeCAD:main Apr 29, 2026
30 checks passed
@github-project-automation github-project-automation Bot moved this from Approved to Done in Merge Queue Apr 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Approved: Code Quality The PR was checked for code quality and approved Approved: Tested The PR was manually tested and approved Mod: FEM Related to the FEM Workbench

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants