Computational Fluid Dynamics (CFD) workbench using OpenFOAM
Moderator: oliveroxtoby
Forum rules
and Helpful information for the FEM forum
and Helpful information for the FEM forum
- Crossleyuk
- Posts: 165
- Joined: Wed Jun 20, 2018 7:47 am
- Location: United Kingdom
- Contact:
Re: Computational Fluid Dynamics (CFD) workbench using OpenFOAM
I've tried a simple small portion of my full model and I'm having the same problem. I cannot generate a mesh from this simple tapered cone and would be gratefull if you could try please.
The response from Write Mesh is below.
I thought I had FreeCAD under my belt but I now feel like I'm back at square 1 with FreeCAD 0.18. Is it still my installation that is incomplete and I wondered if you can generate a mesh from my simple model case?
Appologies and thanks.
Michael
The response from Write Mesh is below.
I thought I had FreeCAD under my belt but I now feel like I'm back at square 1 with FreeCAD 0.18. Is it still my installation that is incomplete and I wondered if you can generate a mesh from my simple model case?
Appologies and thanks.
Michael
- Attachments
-
- MJC Simple Diffuser Only.PNG (142.05 KiB) Viewed 1467 times
- oliveroxtoby
- Posts: 837
- Joined: Fri Dec 23, 2016 9:43 am
- Location: South Africa
Re: Computational Fluid Dynamics (CFD) workbench using OpenFOAM
The error message suggests a simple permission error trying to write to your temp directory. Try closing any explorer windows that might be open in that directory, and failing that change the write location in CFD Preferences to somewhere you can write.Crossleyuk wrote: ↑Mon Jul 29, 2019 9:47 am I've tried a simple small portion of my full model and I'm having the same problem. I cannot generate a mesh from this simple tapered cone and would be gratefull if you could try please.
12in VXA Diffuser Only - Rev P1.FCStd
The response from Write Mesh is below.
12in VXA Diffuser Only - Rev P1.FCStd
I thought I had FreeCAD under my belt but I now feel like I'm back at square 1 with FreeCAD 0.18. Is it still my installation that is incomplete and I wondered if you can generate a mesh from my simple model case?
Appologies and thanks.
Michael
Please provide all the information requested in this post before reporting problems with CfdOF.
- Crossleyuk
- Posts: 165
- Joined: Wed Jun 20, 2018 7:47 am
- Location: United Kingdom
- Contact:
Re: Computational Fluid Dynamics (CFD) workbench using OpenFOAM
Thanks Oliver, I'm trying hard to solve several problems since moving to FC 0.18 but I will take this into account. I seem to be having problems installing BlueCFD for some reason. I'm going to uninstall and start again and take careful notes of responses.
Cheers.
Michael
Cheers.
Michael
- Crossleyuk
- Posts: 165
- Joined: Wed Jun 20, 2018 7:47 am
- Location: United Kingdom
- Contact:
Re: Computational Fluid Dynamics (CFD) workbench using OpenFOAM
Not sure what has heppened but I actually had to use 2D drafting in FC 0.18 and love it but went back to me CFD today. I am now getting a new error for the simple expanding tube.
It seems that I have something missing but of course I don't understand. Is there any thing I should do?
I have attached the actual model case below.
Many thanks again.
It seems that I have something missing but of course I don't understand. Is there any thing I should do?
I have attached the actual model case below.
Many thanks again.
- Attachments
-
- 12in VXA Diffuser Only - Rev P1.FCStd
- (559.81 KiB) Downloaded 35 times
- Crossleyuk
- Posts: 165
- Joined: Wed Jun 20, 2018 7:47 am
- Location: United Kingdom
- Contact:
Re: Computational Fluid Dynamics (CFD) workbench using OpenFOAM
Sorry about the double image post there.
Re: Computational Fluid Dynamics (CFD) workbench using OpenFOAM
When you say 'new', would I be correct in thinking you haven't done too much CFD in 0.18 because this error IMHO should be a warning or even informational as there's nothing actually wrong that the user can fix. The error should only be raised when the user double clicks the CfdSolver in the tree which triggers the Plot workbench to activate and consequently calls MatPlotLib.Crossleyuk wrote: ↑Wed Aug 21, 2019 11:03 pm I am now getting a new error for the simple expanding tube.
The reason the error wasn't produced in 0.17 is that used Qt4 whereas the 0.18 version (you have) is Qt5. I commented out the lines in src\bin\Lib\site-packages\matplotlib\__init__.py around line 906 but you can just ignore the error if you don't want to mess with the code:
from:
Code: Select all
if key.startswith('backend'):
warnings.warn(self.msg_backend_obsolete.format(key),
mplDeprecation)
else:
Code: Select all
if key.startswith('backend'):
# warnings.warn(self.msg_backend_obsolete.format(key),mplDeprecation)
else:
- Crossleyuk
- Posts: 165
- Joined: Wed Jun 20, 2018 7:47 am
- Location: United Kingdom
- Contact:
Re: Computational Fluid Dynamics (CFD) workbench using OpenFOAM
Hi Oliver,
Sorry, this is all beyond my experience but I do take your point of the double click so I tried again and got a new error. I opened the model, selected CfdOF and ran the case. That is all I did and obtained the following:
As ever, sorry to be so inexperienced and not understanding a lot of your response but thanks yet again for your help. FreeCAD 0.17 and CfdOF have been a massive help and has moved my interests in a great direction. I'm dying to get back up and running and 0.18 is a fantastic move forward. Sorry to trouble you in my ignorance.
Many thanks
Michael Crossley
Sorry, this is all beyond my experience but I do take your point of the double click so I tried again and got a new error. I opened the model, selected CfdOF and ran the case. That is all I did and obtained the following:
As ever, sorry to be so inexperienced and not understanding a lot of your response but thanks yet again for your help. FreeCAD 0.17 and CfdOF have been a massive help and has moved my interests in a great direction. I'm dying to get back up and running and 0.18 is a fantastic move forward. Sorry to trouble you in my ignorance.
Many thanks
Michael Crossley
Re: Computational Fluid Dynamics (CFD) workbench using OpenFOAM
No need to apologise to me (or Oliver), if this can be of use to other new users then that's a positive. Just reply back though if the Case does not Write correctly or the Solver does not run, ensuring you include all the Report Output please to help us help you.Crossleyuk wrote: ↑Fri Aug 23, 2019 6:51 pm I'm dying to get back up and running and 0.18 is a fantastic move forward. Sorry to trouble you in my ignorance.
- Crossleyuk
- Posts: 165
- Joined: Wed Jun 20, 2018 7:47 am
- Location: United Kingdom
- Contact:
Re: Computational Fluid Dynamics (CFD) workbench using OpenFOAM
Oops Syres, no appology and I will run again and follow your suggestion.
- Crossleyuk
- Posts: 165
- Joined: Wed Jun 20, 2018 7:47 am
- Location: United Kingdom
- Contact:
Re: Computational Fluid Dynamics (CFD) workbench using OpenFOAM
Okay, quick and simple from now on. Ran the case again with the same problem and here are the files from my temp directory.
Many thanks
Michael
Many thanks
Michael