Open hcOnel opened 6 years ago
It looks like the interpolation to find the zero lift angle of attack is dividing by zero.
Also, what do you mean by writePerf
switching to zero when you halve the mesh resolution? Does that happen without changing any config files?
I was almost sure that writePref changed by itself, but I've run it now for two different mesh resolutions and it did not. I guess my bad, sorry. Other than that, I have compared the two pimpleFoam log files after changing ONLY the mesh size, and the following is the only difference other than the point where fine mesh returns the error.
COARSE MESH:
Selecting finite volume options model type axialFlowTurbineALSource
Source: turbine1
- selecting cells using cellSet turbine1
- selected 1224 cell(s) with volume 186587.307204
.......................
FINE MESH:
Selecting finite volume options model type axialFlowTurbineALSource
Source: turbine1
- selecting cells using cellSet turbine1
- selected 8872 cell(s) with volume 142685.557145
.......................
Yet still I do not understand what does interpolation to find the zero lift angle of attack has to do with mesh size, is not it related to the cl cd data of the airfoil?
Also here are the two log files.
I've been reading through your logs and the source code and I'm a bit stumped. One thing that may be good to do is use interpUtils::interp1D
instead of the profileData::interpolate
method to get the zero lift angle of attack.
Something else I noticed is that your Reynolds numbers don't appear to be ascending:
( 62000 94000 125000 188000 250000 375000 500000 750000 1000000 1500000 12000000 16000000 2000000 20000000 24000000 3000000 32000000 4000000 6000000 8000000 );
That is, you have 4e6
showing up in the list after 12e6
, and so on.
Hello, I am getting the following error when I run a multiRe solution. My profile data files are all similar, it has no problems up to 6th element.
The thing is, I encounter no problems when I decrease the overall mesh resolution to half (writePerf switches between 1 and 0). What might it be related to?