12
« on: March 11, 2021, 02:05:11 AM »
To update on this issue, Jay suggests turning off “calculateU, calculateL and calculateR” by setting them to false. I tried that, but this does not work. In fact, the original tutorial case (which crashed) does not have these lines so by default they are false. If we turned them on (i.e, set them to true), then the simulation works because instead of looking for the tables in /constant/boundaryData/inlet, the simulation looks for /constant/inflowProperties file and skip reading the tables. I run a few tests to provide a clearer description of the issue:
1) Set calculateU, calculateL and calculateR to false -> crashed
2) Set calculateU, calculateL and calculateR to true -> cannot start because there is no inflowProperties file
3) Set calculateU, calculateL and calculateR to true and add the file /constant/inflowProperties -> can run
4) Set calculateU, calculateL and calculateR to false and add the file /constant/inflowProperties -> crashed
From above tests, the simulation works if it reads the file /constant/inflowProperties to obtain U, R, and L (“Specification via prescribed functions” method in the Documentation), but crashed if it reads the tables in /constant/boundaryData/inlet (“Specification via interpolation” method in the Documentation). So the issue lies with the tabulated data in the tables. Jay mentioned that the sigma tensor needs to be positive definite, I will play around with the values in the R table to check whether this is the root cause.