I have a 1D mesh with top be a
I have a 1D mesh with top be a wall. What I want is the distance from all cells to that wall. Simple enough?
When I do
testWallDist . test
I got error like this:
--> FOAM FATAL ERROR : Maximum number of iterations reached. Increase maxIter.
From function meshWave<type>::meshWave(const polyMesh&, const labelList&, const List<type>&, const label maxIter)
in file /home/liu19/research/OpenFOAM/OpenFOAM-1.3/src/OpenFOAM/lnInclude/meshWave.C at line 846.
here is the simple test case:
Wall distance travels one cell
Wall distance travels one cell per iteration. You have max 1000 iterations set up. How many cells 'thick' is your mesh?
I have 1000 cells in this simp
I have 1000 cells in this simple 1D mesh.
The maxIter is not set by me. I found maxIter is set as the mesh cell numbers which I am quite confused.
Here is from src/meshTools/cellDist/patchWave/patchWave.C
mesh().nCells() // max iterations
Change the maxIter to a bit mo
Change the maxIter to a bit more than mesh().nCells() and recompile.
|All times are GMT -4. The time now is 18:40.|