|
[Sponsors] |
November 5, 2021, 11:29 |
PotentialFoam use with a snappyhexmesh
|
#1 |
New Member
Join Date: Nov 2017
Posts: 1
Rep Power: 0 |
hello,
I am trying to run potentialFoam on a mesh I generated using snappyHexMesh. My problem is that when i run this: Code:
#!/bin/sh cd "${0%/*}" || exit # Run from this directory . ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions #------------------------------------------------------------------------------ canCompile || exit 0 # Dynamic code mkdir -p constant/triSurface #copy DTC hull surface from resources folder cp -f /mnt/c/Users/blu/Desktop/MESH_2.stl constant/triSurface/ runApplication surfaceFeatureExtract runApplication blockMesh for i in 1 2 do runApplication -s $i \ topoSet -dict system/topoSetDict.${i} runApplication -s $i \ refineMesh -dict system/refineMeshDict -overwrite done runApplication decomposePar runApplication foamJob -p -s snappyHexMesh #runApplication snappyHexMesh -overwrite -parallel runApplication reconstructParMesh -mergeTol 1e-06 -latestTime restore0Dir Code:
runApplication potentialFoam Is there a way to make potentialFoam use the mesh generated in previous steps? thanks! |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] Running snappyHexMesh in parallel - optimizing | peterhess | OpenFOAM Meshing & Mesh Conversion | 2 | January 3, 2018 02:54 |
OpenFOAM v4.1 - farfield bc potentialFoam | jeytsav | OpenFOAM Running, Solving & CFD | 0 | November 23, 2016 09:06 |
[snappyHexMesh] Tutorial crashes: snappyHexMesh floating point exception. | jasv | OpenFOAM Meshing & Mesh Conversion | 4 | May 10, 2016 02:55 |
potentialFoam & simpleFoam crashes after snappyhexmesh [parallel execution] | pilot320 | OpenFOAM Running, Solving & CFD | 10 | November 12, 2015 16:56 |
potentialFoam doesnt start?! | Sway | OpenFOAM Running, Solving & CFD | 0 | July 2, 2015 07:48 |