Comments (5)
Hi,
Could elaborate on "staying in the cavity directory and executing"? Did you execute this command par command, or just copied-and-pasted the whole block to the terminal? Is there system/decomposeParDict
file?
from openfoam-os-x.
I executed command of the cavity tutorial first and then, still in the cavity folder $ cd cavity
. Then I executed the first command block
$ cat > system/decomposeParDict
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object decomposeParDict;
}
numberOfSubdomains 4;
method scotch;
^D
with the result: no system/decomposeParDict
and the other commands not found
. The same happened when running ´blockMesh´ (no system/decomposeParDict`).
Until now I also looked up the tutorial and tried it with cp -r $FOAM_TUTORIALS/incompressible/icoFoam/cavity/cavity .
instead of cp -r $FOAM_TUTORIALS/incompressible/icoFoam/cavity .
This seems to add the system/decomposeParDict
after running foamRunTutorials
(also blockMesh
is working now)
But afterwards, the command cat > system/decomposeParDict....
just result in nothing. It shows no errors, but it also does not seem to calculate anything and I have to always exit with control-c.
from openfoam-os-x.
The first command is
cat > system/decomposeParDict
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object decomposeParDict;
}
numberOfSubdomains 4;
method scotch;
It creates decomposeParDict
and should be finished by EOF (^D or Ctrl-D
). Since you press Ctrl-C
, file is not created. From your point of view, it does nothing, yet, it is not the case.
And as your first command fails to do what it is supposed to, you end up without decomposeParDict
file.
from openfoam-os-x.
ohh okay, the ^D
stands for CTRL-D
. Thank you, now its working!
May I suggest that you change
cp -r $FOAM_TUTORIALS/incompressible/icoFoam/cavity .
to
cp -r $FOAM_TUTORIALS/incompressible/icoFoam/cavity/cavity .
?
from openfoam-os-x.
Variant of cavity
tutorial were moved into separate folder in version 4. So, let's hope people, using earlier versions, will not propose to change wiki again.
from openfoam-os-x.
Related Issues (20)
- Newbie Problems HOT 10
- Can you add the patch for OpenFOAM-v1812? HOT 6
- License? HOT 6
- OpenFOAM v2112 and Mac OS 12 HOT 4
- OpenFOAM-8: symbol not found in flat namespace '_MPI_Abort' HOT 22
- Correct code for OpenMPI folders lookup
- Request: A new patch for swak4Foam (develop branch) HOT 2
- Encountered C++ import errors when making HOT 6
- clang: error when allmake HOT 5
- OpenFOAM 10 HOT 4
- Patch for OpenFOAM-dev HOT 9
- libomp needs a quick fix HOT 2
- Updated path for OpenFOAM v10 HOT 2
- OpenFOAM-11 HOT 1
- OpenFOAMv2306 and scotch library linking HOT 14
- problem with " brew install mrklein/foam/scotch" HOT 1
- -v2012 on Mac-m2-Ventura HOT 1
- Patches for v1806 HOT 1
- symbol not found in flat namespace '_ompi_mpi_byte' HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openfoam-os-x.