SalomeToOpenFOAM
A python script that outputs a Salome mesh to OpenFOAM
Install / Use
/learn @nicolasedh/SalomeToOpenFOAMREADME
salomeToOpenFOAM
A python script that outputs a Salome mesh to OpenFOAM
To run just select the mesh you wish to export and go to file->load script and run salomeToOpenFOAM
Support for regions, or rather cellZones has been added. Create groups of volumes, these will be exported to a file called cellZones, in order to split use splitMeshRegions -cellZones
The faces are reoreded to "upper triangular order" but you might still benifit from a renumberMesh.
Support for internal patches (baffles) has been added.
License
This script is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
salomeToOpenFOAM is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with salomeToOpenFOAM. If not, see <http://www.gnu.org/licenses/>.
The license is included in the file LICENSE.
Related Skills
node-connect
349.9kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
349.9kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.9kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
