Test request - 1D flow

About the development of the FEM module/workbench.

Moderator: bernd

KgoaOT
Posts: 66
Joined: Mon Jul 18, 2016 9:08 am

Test request - 1D flow

Post by KgoaOT »

I have done the implementation of 1D flow using FLUID SECTION definition which works similarly to the BEAM SECTION and SHELL SECTION
An example on the CalculiX manual http://feacluster.com/CalculiX/ccx_2.10 ... ode13.html).

I have attached the example file here:
1DPipe.fcstd
(8.16 KiB) Downloaded 74 times
In the example file the is a pipe with an inlet and outlet. The inlet pressure and Inlet flow rate is used to determine the outlet pressure.

Currently the results from the analysis are not read into FreeCAD because 1D flow results are not supported. Furthermore visualization of the results is also another thing that needs consideration.

The branch can be found here: https://github.com/stoflap/FreeCAD/tree/FluidSection

OS: Ubuntu 16.04.1 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.9700 (Git)
Build type: Unknown
Branch: FluidSection
Hash: 14ae74f4681b231fd44ba0a0032068164ed7bb01
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17

regards
kgoaOT
HoWil
Veteran
Posts: 1279
Joined: Sun Jun 14, 2015 7:31 pm
Location: Austria

Re: Test request - 1D flow

Post by HoWil »

Sounds interesting...
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Test request - 1D flow

Post by bernd »

@KgoaOT:
wow cool, would you post an example analysis?
KgoaOT
Posts: 66
Joined: Mon Jul 18, 2016 9:08 am

Re: Test request - 1D flow

Post by KgoaOT »

bernd wrote:@KgoaOT:
wow cool, would you post an example analysis?
I have attached the file above 8-)
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Test request - 1D flow

Post by bernd »

KgoaOT wrote:
bernd wrote:@KgoaOT:
wow cool, would you post an example analysis?
I have attached the file above 8-)
Damn small screen ... I'm on my smart phone ATM. Sorry ... :oops:
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Test request - 1D flow

Post by bernd »

I did a rebase on master, some code formating and fixed z88. All can be found on branch:

https://github.com/berndhahnebach/FreeC ... fem1dfluid

Some result reading should be implemented before we gone merge it into master IMHO. @KgoaOT: Are you gone plan to do this?
KgoaOT
Posts: 66
Joined: Mon Jul 18, 2016 9:08 am

Re: Test request - 1D flow

Post by KgoaOT »

bernd wrote: Some result reading should be implemented before we gone merge it into master IMHO. @KgoaOT: Are you gone plan to do this?
Yes I will also look into this.

Regards
KgoaOT
KgoaOT
Posts: 66
Joined: Mon Jul 18, 2016 9:08 am

Re: Test request - 1D flow

Post by KgoaOT »

The results for 1D flow are now supported:
Taskpanelshowresult.PNG
Taskpanelshowresult.PNG (65.23 KiB) Viewed 2217 times
as well as in vtk. But in vtk we can only currently view the results in terms of the nodes:
VtkNetworkPressure.PNG
VtkNetworkPressure.PNG (8.76 KiB) Viewed 2217 times
the link to the branch can be found here:
https://github.com/stoflap/FreeCAD/tree/FluidSection

Feedback and comments will be much appreciated.
regards
KgoaOT
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Test request - 1D flow

Post by bernd »

KgoaOT wrote:as well as in vtk. But in vtk we can only currently view the results in terms of the nodes:
VtkNetworkPressure.PNG
You only have been using a mesh with 7 nodes. If you would use 100 it would be better or am I wrong?
User avatar
makkemal
Posts: 395
Joined: Wed Apr 29, 2015 12:41 pm
Location: South Africa
Contact:

Re: Test request - 1D flow

Post by makkemal »

Can you post an updated example the earlier one is giving a number of errors
Post Reply