View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0002696||OpenFOAM||Feature||public||2017-09-11 14:42||2017-09-12 14:33|
|Priority||low||Severity||minor||Reproducibility||have not tried|
|Fixed in Version|
|Summary||0002696: Interpolate values with sphereToCell on orthogonal Mesh|
I have a feature request regarding the sphereToCell-source in setFields.
I think it would improve the code/results if it would be possible to set the fields (e.g. alpha) on the edge of the sphere to a value, depending on the partial of the cell of its location inside/outside of the sphere.
If not, using the sphereToCell+setFields in setting alpha in an interFoam-Case will always loose some % of the mass (depending on the mesh resolution)
|Tags||No tags attached.|
||How does one calculate what proportion of a cell lies within a sphere?|
I attached a paper I found regarding this issue. But it's beyond my capabilities in programming...
Strobl_etal_overlap_calculation.pdf (1,615,072 bytes)
Are you able to fund someone else to implement it?
In order to have a complete feature set we would also need the equivalent functionality for cylinders. That's probably the extent of the complexity, though. All the other currently available shapes are bounded by flat planes, for which cell-intersections are relatively simple to calculate.
||No sorry. But you're right, the paper is just a solution for one specific case.|
|2017-09-11 14:42||dfh||New Issue|
|2017-09-11 17:51||will||Note Added: 0008751|
|2017-09-12 07:25||dfh||File Added: Strobl_etal_overlap_calculation.pdf|
|2017-09-12 07:25||dfh||Note Added: 0008753|
|2017-09-12 10:55||will||Note Added: 0008757|
|2017-09-12 14:33||dfh||Note Added: 0008762|