View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0003232||OpenFOAM||Feature||public||2019-05-08 21:45||2019-05-09 09:17|
|Platform||Linux||OS||OpenSUSE Leap||OS Version||15.0|
|Fixed in Version|
|Summary||0003232: change blockMesh arc specification|
using 'arc' in blockMeshDict is quite tedious, since it requires computing a point on the arc.
In most cases it would be much easier to specify the centre of the circle, or a point within
the circle and the radius.
arc 0 1 (1 2 3)
arc 0 1 c (1 2 3) // Coordinates of the circle centre
arc 0 1 p (1 2 3) // Coordinates of a point on the circle (equivalent to present syntax)
arc 0 1 pr (1 2 3 50) // Point in circle and circle radius
|Tags||No tags attached.|
||The first two specification are OK but the last one is a bit odd, under what conditions would this be convenient?|
||Yes, at first this sounds weird. However the specification of many tank bottoms use with curvatures (giving radii/diameters) without centres.|
The third is a better specification, too, as it avoids an issue with the second potentially not being consistent. If in the second, the given centre is not the same distance from the two end points, then the arc is not well defined.
Point-in-circle and radius doesn't have this problem, though it does have a different issue. If the given point-in-circle is on the line between the end points then the arc can't be calculated. That's probably less likely to be an issue than getting the centre in the wrong place.
Alternatively, you could have circle-plane-normal and radius. That wouldn't have either issue.