Starting with CfdOF
Moderator: oliveroxtoby
Forum rules
and Helpful information for the FEM forum
and Helpful information for the FEM forum
-
- Veteran
- Posts: 3156
- Joined: Sat May 20, 2017 12:06 pm
- Location: Germany
Re: Starting with CfdOF
Did you set the path to openFOAM correct?
You can check your bluecfd-installation by running a tutorial from blucfd console directly.
Some assistance:
https://forum.freecadweb.org/viewtopic.php?t=52381 OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.20.27428 (Git)
Build type: Release
Branch: master
Hash: 27460358508a2057e0ec57a418641435f12628dd
Python version: 3.8.6+
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.5.3
Locale: German/Germany (de_DE)
You can check your bluecfd-installation by running a tutorial from blucfd console directly.
Some assistance:
https://forum.freecadweb.org/viewtopic.php?t=52381 OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.20.27428 (Git)
Build type: Release
Branch: master
Hash: 27460358508a2057e0ec57a418641435f12628dd
Python version: 3.8.6+
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.5.3
Locale: German/Germany (de_DE)
- oliveroxtoby
- Posts: 837
- Joined: Fri Dec 23, 2016 9:43 am
- Location: South Africa
Re: Starting with CfdOF
This is a mystery to me. As far as I know, it should be displaying "/home/ofuser" (this is set in the file ...\OpenFOAM\v2112\OpenFOAM-MSYS2.bat).maxam wrote: ↑Wed Jun 22, 2022 7:05 am Here below the info
Problem is...that I don't find that directory on my PC.... :?:Code: Select all
$ echo $HOME /home/massimiliano
Yes, this is a virtual filesystem in the MinGW environment, but it corresponds to what you see in ...\OpenFOAM\v2112\msys64. In there you should see that there is a home/ofuser directory.
This is another one that I can't explain - it's very strange.maxam wrote: ↑Thu Jun 23, 2022 7:10 am I installed BlueCFD as you suggested.
Sadly I still get errors at dependecy checkCode: Select all
09:04:32 Checking CFD workbench dependencies... 09:04:32 Checking FreeCAD version 09:04:32 Checking for OpenFOAM: 09:04:32 System: Windows Runtime: BlueCFD2 OpenFOAM directory: C:\Program Files\blueCFD-Core-2020\OpenFOAM-8 09:04:32 Running echo $WM_PROJECT_VERSION 09:04:32 09:04:32 Running wmake -help 09:04:39 /usr/bin/bash: wmake: comando non trovato
In both cases there seem to be problems with the OpenFOAM installation independent of CfdOF, so it may be more productive to engage with those projects to find a resolution.
If you supply your system data as requested in the post linked below, it may give us some clue.
Please provide all the information requested in this post before reporting problems with CfdOF.
Re: Starting with CfdOF
I tried to follow your bluecfd-installation but while I try to use the shell I get stuck. Seems there's something wrong with permissions, but I have admin permisions and have installed buecfd as admin.thschrader wrote: ↑Thu Jun 23, 2022 11:52 am Did you set the path to openFOAM correct?
You can check your bluecfd-installation by running a tutorial from blucfd console directly.
Some assistance:
https://forum.freecadweb.org/viewtopic.php?t=52381
Don't understand.
Code: Select all
mkdir: cannot change permissions of '/dev/shm': Permission denied
mkdir: cannot change permissions of '/dev/mqueue': Permission denied
'C:\WINDOWS\system32\drivers\etc\hosts' -> '/etc/hosts'
'C:\WINDOWS\system32\drivers\etc\protocol' -> '/etc/protocols'
'C:\WINDOWS\system32\drivers\etc\services' -> '/etc/services'
'C:\WINDOWS\system32\drivers\etc\networks' -> '/etc/networks'
massimiliano@Direzione-tecnica-3 MINGW64 ~
$ cd $FOAM_RUN
massimiliano@Direzione-tecnica-3 MINGW64 ~
$ cd prism/
bash: cd: prism/: No such file or directory
Re: Starting with CfdOF
System:oliveroxtoby wrote: ↑Thu Jun 23, 2022 7:57 pm ....
If you supply your system data as requested in the post linked below, it may give us some clue.
Edition Windows 10 Pro
Version 21H1
Installation date 24/03/2021
Build OS 19043.1766
Windows Feature Experience Pack 120.2212.4180.0
Freecad:
OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.20.29177 (Git)
Build type: Release
Branch: releases/FreeCAD-0-20
Hash: 68e337670e227889217652ddac593c93b5e8dc94
Python 3.8.10, Qt 5.15.2, Coin 4.0.1, Vtk 8.2.0, OCC 7.6.2
Locale: Italian/Italy (it_IT)
Installed mods:
* CfdOF 1.17.0
If you need more info please let me know.
Re: Starting with CfdOF
You're having so many problems that I'm thinking there's something significant with your OS or AV settings that we haven't come across before. Just to prove that the blueCFD Terminal is opening with Administrator level privileges could you please ensure the tickbox shown below is ticked on your shortcut and then re-run.
If as I suspect that makes no difference then to prove that User Access Control isn't intervening where it isn't wanted, you will have to de-install blueCFD completely and reinstall into a completely new folder that is not part of the standard Windows system. In my case I use a different drive from C: completely but if that's all you've got then create a folder off the root called MyProgs and then install into that so the resulting folder structure is C:\MyProgs\blueCFD-Core-2020
Re: Starting with CfdOF
I tried and I get same results.Syres wrote: ↑Mon Jun 27, 2022 1:13 pmYou're having so many problems that I'm thinking there's something significant with your OS or AV settings that we haven't come across before. Just to prove that the blueCFD Terminal is opening with Administrator level privileges could you please ensure the tickbox shown below is ticked on your shortcut and then re-run.
Below Shell messages starting as admin:
Code: Select all
massimiliano@Direzione-tecnica-3 MINGW64 ~
#
massimiliano@Direzione-tecnica-3 MINGW64 ~
# cd $FOAM_RUN
massimiliano@Direzione-tecnica-3 MINGW64 ~
# cd prism/
bash: cd: prism/: No such file or directory
massimiliano@Direzione-tecnica-3 MINGW64 ~
#
Just for info, before tring CfdOF I tested both simFlow and SimWorks. None of them give me problems with OpenFOAM permission. They work fine, within the limits imposed by their own commercial policies.
Re: Starting with CfdOF
@Syres
I have done a completly new instalatio of BlueCFD into the folder C:\MyProgrs\blueCFD-Core-2020.
The folder has all permissions.
While testing BlueCFD I get the same error of previous tests.
I have done a completly new instalatio of BlueCFD into the folder C:\MyProgrs\blueCFD-Core-2020.
The folder has all permissions.
While testing BlueCFD I get the same error of previous tests.
Code: Select all
mkdir: cannot change permissions of '/dev/shm': Permission denied
mkdir: cannot change permissions of '/dev/mqueue': Permission denied
Copying skeleton files.
These files are for the users to personalise their msys2 experience.
They will never be overwritten nor automatically updated.
'./.bashrc' -> '/home/massimiliano/.bashrc'
'./.bash_logout' -> '/home/massimiliano/.bash_logout'
'./.bash_profile' -> '/home/massimiliano/.bash_profile'
'./.inputrc' -> '/home/massimiliano/.inputrc'
'./.profile' -> '/home/massimiliano/.profile'
'./.vimrc' -> '/home/massimiliano/.vimrc'
'C:\WINDOWS\system32\drivers\etc\hosts' -> '/etc/hosts'
'C:\WINDOWS\system32\drivers\etc\protocol' -> '/etc/protocols'
'C:\WINDOWS\system32\drivers\etc\services' -> '/etc/services'
'C:\WINDOWS\system32\drivers\etc\networks' -> '/etc/networks'
massimiliano@Direzione-tecnica-3 MINGW64 ~
$ cd $FOAM_RUN
massimiliano@Direzione-tecnica-3 MINGW64 ~
$ cd prism/
bash: cd: prism/: No such file or directory
massimiliano@Direzione-tecnica-3 MINGW64 ~
$
-
- Veteran
- Posts: 3156
- Joined: Sat May 20, 2017 12:06 pm
- Location: Germany
Re: Starting with CfdOF
The prism tutorial/sonicFoam solver is missing in bluecfd 2020. For whatever reason...
I tried tutorial/incompressible/simpleFoam/pitzDaily, which works. EDIT:
I tried tutorial/incompressible/simpleFoam/pitzDaily, which works. EDIT:
Re: Starting with CfdOF
I tried. I get the same error.thschrader wrote: ↑Tue Jun 28, 2022 8:56 am The prism tutorial/sonicFoam solver is missing in bluecfd 2020. For whatever reason...
I tried tutorial/incompressible/simpleFoam/pitzDaily, which works.
Code: Select all
massimiliano@Direzione-tecnica-3 MINGW64 ~
$
massimiliano@Direzione-tecnica-3 MINGW64 ~
$
massimiliano@Direzione-tecnica-3 MINGW64 ~
$ cd $FOAM_RUN
massimiliano@Direzione-tecnica-3 MINGW64 ~
$ cd pitzDaily/
bash: cd: pitzDaily/: No such file or directory
massimiliano@Direzione-tecnica-3 MINGW64 ~
$
Last edited by maxam on Tue Jun 28, 2022 12:35 pm, edited 1 time in total.
-
- Veteran
- Posts: 3156
- Joined: Sat May 20, 2017 12:06 pm
- Location: Germany
Re: Starting with CfdOF
This is what I see when running bluecfd2020 from console.
Installation of bluecfd2017/2020 was straightforward, no special things done.
Simply run the exe-installer.
You must create a new run-folder under ofuser-of8, then select a tutorial and
copy it into the new run folder. Did you do that?
Example here is stress analysis with platehole tutorial.
Installation of bluecfd2017/2020 was straightforward, no special things done.
Simply run the exe-installer.
You must create a new run-folder under ofuser-of8, then select a tutorial and
copy it into the new run folder. Did you do that?
Example here is stress analysis with platehole tutorial.