View Issue Details

IDProjectCategoryView StatusLast Update
0003232OpenFOAMFeaturepublic2019-05-09 09:17
ReportergskillasAssigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
Status newResolutionopen 
PlatformLinuxOSOpenSUSE LeapOS Version15.0
Product Versiondev 
Fixed in Version 
Summary0003232: change blockMesh arc specification
DescriptionHello Henry

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.

Syntax now:

arc 0 1 (1 2 3)

Proposed syntax:

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

Best regards,

George
TagsNo tags attached.

Activities

henry

2019-05-08 22:15

manager   ~0010452

The first two specification are OK but the last one is a bit odd, under what conditions would this be convenient?

gskillas

2019-05-09 07:44

reporter   ~0010453

Yes, at first this sounds weird. However the specification of many tank bottoms use with curvatures (giving radii/diameters) without centres.

will

2019-05-09 09:17

manager   ~0010454

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.

Issue History

Date Modified Username Field Change
2019-05-08 21:45 gskillas New Issue
2019-05-08 22:15 henry Note Added: 0010452
2019-05-09 07:44 gskillas Note Added: 0010453
2019-05-09 09:17 will Note Added: 0010454