|
[Sponsors] |
October 11, 2007, 17:33 |
I have a 1D mesh with top be a
|
#1 |
Senior Member
Xiaofeng Liu
Join Date: Mar 2009
Location: State College, PA, USA
Posts: 118
Rep Power: 17 |
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. maxIter:1000 nChangedCells:0 nChangedFaces:5 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: test.tar.gz
__________________
Xiaofeng Liu, Ph.D., P.E., Assistant Professor Department of Civil and Environmental Engineering Penn State University 223B Sackett Building University Park, PA 16802 Web: http://water.engr.psu.edu/liu/ |
|
October 11, 2007, 18:49 |
Wall distance travels one cell
|
#2 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
Wall distance travels one cell per iteration. You have max 1000 iterations set up. How many cells 'thick' is your mesh?
|
|
October 11, 2007, 22:19 |
I have 1000 cells in this simp
|
#3 |
Senior Member
Xiaofeng Liu
Join Date: Mar 2009
Location: State College, PA, USA
Posts: 118
Rep Power: 17 |
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 meshWave<wallpoint> waveInfo ( mesh(), changedFaces, faceDist, mesh().nCells() // max iterations );
__________________
Xiaofeng Liu, Ph.D., P.E., Assistant Professor Department of Civil and Environmental Engineering Penn State University 223B Sackett Building University Park, PA 16802 Web: http://water.engr.psu.edu/liu/ |
|
October 12, 2007, 05:19 |
Change the maxIter to a bit mo
|
#4 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
Change the maxIter to a bit more than mesh().nCells() and recompile.
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
cvd can't work | mahe | Phoenics | 0 | February 25, 2008 23:01 |
CFD mesh in work bench | sach | Main CFD Forum | 0 | October 31, 2006 03:11 |
Button 'Generate Mesh' doesn't work | Julie Polyakh | Siemens | 3 | January 7, 2004 19:15 |
CFX 5.5.1 for 2D work | blair | CFX | 9 | May 20, 2003 11:29 |
visual3 can't work with refined mesh | dell | Siemens | 0 | December 15, 2002 06:00 |