mmgocmen / cfd-with-cuda

CFD with CUDA
2 stars 0 forks source link

Problem with reading BC section of the input file #15

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The code is written such that pressure BC is specified as the last BC, after 
several velocity BCs. The user may not know this. The code should be general in 
regards to this. It should first read only the BCtype and than read the rest of 
the lines accordingly.

A related problem is that the code never uses BCtype data.

Last thing is, consider the following BC information.

BC 1      : 1  1 : 0 : 0
BC 2      : 2  0 : 0 : 0
BC 3      : 0

Here 1, 2 and 3 before : signs are dummy. BCtypes are the numbers after : 
signs. I think the code reads this part in a different way. In order to read 
this as explained here you need to put one last number to the pressure BC line 
and it should be as follows

BC 3      : 3  0.0

Here the 3 after : says that it is of BCtype 3 (which means specified pressure) 
and 0.0 is the specified pressure value.

Also for clarity, floating point values should appear as floating point values 
in the input file. For example for a wall zero velocity values should be 
written as 0.0000, but not 0.

Original issue reported on code.google.com by cuneytsert on 27 Sep 2012 at 9:27

GoogleCodeExporter commented 9 years ago
I am working on this.

Original comment by cuneytsert on 22 Oct 2012 at 10:13

GoogleCodeExporter commented 9 years ago
Issues related to the old segregated solver are being closed as WONTFIX.

Original comment by cuneytsert on 10 Jun 2014 at 11:56