Comments (2)
OK, this solved it (assuming your are using the docker image)
This is taken from https://gitlab.onelab.info/gmsh/gmsh/-/blob/master/utils/docker/Dockerfile.ubuntu20.04
cd $HOME/packages
find $HOME/packages -maxdepth 1 -type d -iname "gmsh*" | xargs rm -rf
GMSH_VERSION="4.11.1"
GMSH_NAME=$(echo $GMSH_VERSION | sed 's/\./_/g')
wget "https://gitlab.onelab.info/gmsh/gmsh/-/archive/gmsh_$GMSH_NAME/gmsh-gmsh_$GMSH_NAME.tar.gz" && tar -xf "gmsh-gmsh_$GMSH_NAME.tar.gz" && rm -f "gmsh-gmsh_$GMSH_NAME.tar.gz" && mv "gmsh-gmsh_$GMSH_NAME" "gmsh-$GMSH_VERSION"
# Or if we don't want the names being fixed
GMSH_VERSION="master"
git clone https://gitlab.onelab.info/gmsh/gmsh.git "gmsh-$GMSH_VERSION" && cd "gmsh-$GMSH_VERSION"
git checkout 3a8640cbda19bbde95a80bdeef0525485d0f145e
cd "$HOME/packages/gmsh-$GMSH_VERSION"
mkdir build && cd build
CGNS_ROOT="$HOME/packages/CGNS-4.4.0/opt-gcc" cmake \
-DCMAKE_INSTALL_PREFIX="$HOME/packages/gmsh-$GMSH_VERSION/opt-gcc" \
-DCMAKE_BUILD_TYPE=Release \
-DENABLE_BUILD_SHARED=1 \
-DENABLE_PRIVATE_API=1 \
-DENABLE_CGNS=ON \
-DENABLE_CGNS_CPEX0045=OFF \
-DENABLE_PETSC=ON \
-DENABLE_MPI=ON \
-DENABLE_OPENMP=ON \
-DENABLE_PETSC4PY=ON \
-DOPENGL_GL_PREFERENCE=LEGACY \
..
make -j8 shared && make -j8 install && cd .. && rm -rf build
cd $HOME
Now i can at least run cgnscheck
on my output
Note that I reverted to version 4.11.1 because of this https://gitlab.onelab.info/gmsh/gmsh/-/issues/2652
from pyhyp.
Solved it!
If anyone face problems with gmsh output, you can reach out to me. The trick is to use cgns_utilities, modify the BCSTANDARD dict and set the key of wall to 0 before using readGrid. Then, one can loop over the blocks and reset the cgns_type to the desired value
from pyhyp.
Related Issues (20)
- Problem about PyHyp install
- The MDO 3rd party installation guide is missing HOT 1
- Mismatched config filename in compilation step of installation instructions HOT 2
- Add a theory section in the documentation
- unattachedEdgesAreSymmetry fails on some surface meshes HOT 3
- Document the BC option
- Improve testing coverage HOT 1
- Can't compile with '-std=f2008' HOT 1
- Compile Issue: writeCGNS.F90 Symbol bcfarfield has no implicit type HOT 4
- Extra surface BCs showing up in pointwise in PLOT3D file?
- pyHyp doesn't work with numpy 1.24 HOT 3
- Compile Error HOT 2
- Which version of HDF5 HOT 2
- Failed to generate mesh HOT 5
- Error when generating pyhyp mesh - "Segmentation fault (core dumped)" HOT 1
- Segmentation fault HOT 4
- Mesh a cylindrical volume from a surface mesh
- volume mesh generation in pHYP HOT 11
- Exit gracefully in parallel
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 pyhyp.