Mark Olesen
5b177b44f3
STYLE: update README to v2312
2023-12-12 20:06:50 +01:00
mattijs
4612238eff
BUG: multiWorld: switch to inter-world communicator. Fixes #3053 .
2023-12-12 17:26:59 +00:00
Andrew Heather
3339f25992
Merge branch 'update-registry-handling0' into 'develop'
...
Improved DimensionedField/GeometricField factory methods
See merge request Development/openfoam!650
2023-12-12 11:57:57 +00:00
Mark Olesen
7cc6d52345
CONFIG: increment API level to 2310
2023-12-11 15:56:00 +01:00
Mark Olesen
4cf1691cdd
ENH: update DimensionedField and GeometricField New factory methods
...
- allow separate specification of the registerObject (no/yes/auto)
to improve the flexibility of the factory methods.
2023-12-11 15:56:00 +01:00
Mark Olesen
6ea4328ea1
SUBMODULE: update avalanche, visualization
2023-12-11 15:56:00 +01:00
Mark Olesen
28b6a5b85a
ENH: allow modification of tmp state (cached or uncached)
...
- simplifies handling.
* enables unprotecting to avoid accidentally cloning.
* removes the need for dedicated constructor or factory forms.
* simplfies DimensionedField and GeometricField New factory methods
- update objectRegistry management method (internal use)
old: bool cacheTemporaryObject(...)
new: bool is_cacheTemporaryObject(...)
to clarify that it is a query, not a request for caching etc.
2023-12-11 15:56:00 +01:00
Mark Olesen
d086cc5a0e
COMP: stricter handling of openmp vs no-openmp
...
- give precedence to ~openmp (-no-openmp) over +openmp (-openmp)
in the general rules and in the Makefile. This makes it robuster
when specifying +openmp in general, but ~openmp for specific build
components.
- disable openmp for OSspecific and Pstream components.
Neither should contain any openmp code anyhow.
Additionally, since OSspecific is generally built as a static
object, it can become problematic (eg, with AMD ROCm) if the
compiler generates information that openmp is required but then uses
static linkage.
2023-12-11 15:56:00 +01:00
Mark Olesen
cd493897d3
CONFIG: update ADIOS version. From 2.8.3 to 2.9.2
2023-12-11 15:56:00 +01:00
Mark Olesen
2fa0c7520c
ENH: provide faMesh static accessors for registry and single-region
...
- the fields for finite-area are currently stored directly on the
polyMesh registry, but for future relocation to a sub-registry
provide a uniform accessor.
ENH: use thisDb() for faMatrix access and extrapolatedCalculated
2023-12-11 15:56:00 +01:00
mattijs
05f2d54979
ENH: masterCoarsest: demo case for processorAgglom. See !645
2023-12-11 12:28:08 +00:00
mattijs
cf4af229b6
ENH: shm: more layer printing. Fixes #3049
2023-12-11 10:26:09 +00:00
mattijs
ca80affe60
COMP: MapLagrangian: unused reference
2023-12-11 09:06:19 +00:00
mattijs
d2b2b9fa0f
TUT: redistributePar: use instead of decomposePar
2023-12-11 08:54:41 +00:00
mattijs
bc5aafa0d9
TUT: fileOperation: bit more testing. See #2952
2023-12-08 15:58:12 +00:00
Kutalmis Bercin
1844f87a0d
COMP: pass as labelList as List<int> for MPI
2023-12-08 13:33:30 +00:00
Kutalmış Berçin
b4f150b095
Merge branch 'feature-patchSeedSet' into 'develop'
...
Extended patchSeedSet to generate seed points more uniformly
See merge request Development/openfoam!647
2023-12-08 11:42:22 +00:00
Andrew Heather
ec48e2f309
ENH: Extended patchSeedSet to generate seed points more uniformly
2023-12-08 11:41:55 +00:00
Andrew Heather
df71026509
ENH: Added triangulatedPatch class to triangulate pacthes for searching
...
- Provides random local and global points, optionally perturbed away from the
boundary faces
2023-12-08 11:41:55 +00:00
Andrew Heather
863dbc68cb
Merge branch '2770-wall-functions' into 'develop'
...
ENH: wall functions: swap the order of switch statements and for loops
See merge request Development/openfoam!635
2023-12-08 11:21:04 +00:00
Kutalmis Bercin
330bd16390
ENH: wall functions: swap the order of switch statements and for loops
2023-12-08 11:20:24 +00:00
Kutalmis Bercin
612d9d3431
ENH: omegaWallFunction: change the scope of corner weights
...
The 'w' factor is factored out to improve consistency with the
'epsilonWallFunction', enhancing uniformity in these wall functions.
2023-12-08 11:20:24 +00:00
Kutalmis Bercin
64aee19823
BUG: omegaWallFunction: add missing corner weight ( fixes #3003 )
2023-12-08 11:20:24 +00:00
Luca Cornolti
a737240e13
BUG: wallFunctions: correct blending terms ( fixes #2770 )
2023-12-08 11:20:24 +00:00
Andrew Heather
db29d535c8
Merge branch 'feature-cyclicAMI-processorAgglomeration' into 'develop'
...
ENH: GAMG: processor agglomeration extended for all interfaces
See merge request Development/openfoam!645
2023-12-07 17:33:29 +00:00
Mattijs Janssens
8ae0056edd
ENH: GAMG: processor agglomeration extended for all interfaces
2023-12-07 17:33:29 +00:00
Mark Olesen
04e4156403
COMP: remove IOobject template specialization (gcc)
2023-12-07 17:55:27 +01:00
Mark Olesen
13352861c8
ENH: improve consistency in handling of global IOobjects ( #3045 )
...
- replace typeGlobal() global function with is_globalIOobject
traits for more consistent and easier overriding.
- relocate typeFilePath() global function as a member of IOobject
for consistency with typeHeaderOk.
BUG: faSchemes, fvSchemes not marked as global file types
- caused issues with collated
2023-12-07 17:42:25 +01:00
Mark Olesen
43143f21d2
BUG: mis-loading of faMesh in redistribute mode (see !605 )
2023-12-07 17:42:25 +01:00
Mark Olesen
ef44df91f2
ENH: support direct lookup of solver controls
...
OLD:
pEqn.solve(mesh.solver(p.select(piso.finalInnerIter())));
pEqn.solve(mesh.solver("Yi"));
NEW:
pEqn.solve(p.select(piso.finalInnerIter()));
pEqn.solve("Yi");
2023-12-07 17:42:24 +01:00
Mark Olesen
30a7c22563
ENH: support 'if-present' handling of relaxation coefficients
...
- new
scalar relaxCoeff = 0;
if (solution().relaxEquation(name, relaxCoeff))
{
relax(relaxCoeff);
}
// or
scalar relaxCoeff = 0;
solution().relaxEquation(name, relaxCoeff);
- old
if (solution().relaxEquation(name))
{
relax(solution().equationRelaxationFactor(name));
}
// or
scalar relaxCoeff = 0;
if (solution().relaxEquation(name))
{
relaxCoeff = solution().equationRelaxationFactor(name);
}
2023-12-07 17:42:24 +01:00
Mark Olesen
42feffc794
ENH: harmomize schemes-lookup and solution internal accessor names
...
FIX: correct the schemes internal dictionary name
- change from '.' to '/' delimiter as per 886ba89ddb
(#1073 )
2023-12-07 17:42:24 +01:00
Mark Olesen
ca25929372
ENH: minor simplifications for handling region meshes
...
- static version of polyMesh::meshDir(), which takes a region name
polyMesh::meshDir(regionName)
vs
polyMesh::regionName(regionName)/polyMesh::meshSubDir
STYLE: use polyMesh::regionName(..) instead of comparing to defaultRegion
STYLE: use getOrDefault when retrieving various -region options
FIX: polyMesh::dbDir() now checks registry name, not full path (#3033 )
2023-12-07 17:42:24 +01:00
Mark Olesen
f377875bc8
FIX: avoid questionable lookup and casting for interfaceTrackingFvMesh
2023-12-07 17:42:24 +01:00
Mark Olesen
149cd7042f
ENH: use thisDb reference when referencing/creating finite-area fields
...
COMP: remove faMesh::operator()() in favour of mesh() or thisDb() instead
- makes the purpose and usage clearer
2023-12-07 17:42:24 +01:00
Mark Olesen
c9e4b0edac
FIX: avoid doubled dbDir() in fileOperation::readObjects ( #3037 )
2023-12-07 17:42:24 +01:00
Mark Olesen
09fdeaa38a
ENH: more consistent use of endEntry (issue #3035 )
...
- enables capturing of end entry as an event
2023-12-07 17:42:24 +01:00
Mark Olesen
2de1a26c7b
STYLE: indentation, comments
...
ENH: additional faMesh cleanup in CleanFunctions
2023-12-07 17:42:24 +01:00
mattijs
227480c366
TUT: snappyHexMesh: demo multiple insidePoints
2023-12-07 14:42:22 +00:00
mattijs
8cd22c1a83
TUT: redistributePar does not write dummy meshes anymore.
2023-12-07 10:22:57 +00:00
Andrew Heather
0d16e1a7c6
ENH: variableHeightFlowRateInletVelocity BC - update for moving meshes. See #3012
...
Dynamic mesh updates trigger a velocity field update. For [this] BC the update
can fail if the dependent alpha field has not already been updated.
2023-12-06 14:52:05 +00:00
Andrew Heather
513fe05c21
ENH: GeometricBoundaryField - added evaluateSelected function
...
Provides a mechanism to update specific boundary conditions
2023-12-06 14:52:05 +00:00
mattijs
6c0ee5d177
BUG: shm: fix to unbalancing info printing. See #3034 .
2023-12-06 09:46:51 +00:00
mattijs
9a7e97ab98
BUG: fileHandler: wrong communicator. Fixes #3042
2023-12-05 17:36:51 +00:00
Andrew Heather
aa71de0db3
Merge branch 'feature-kinematic-weber-no' into 'develop'
...
ENH: KinematicWeberNumber: New cloud function object
See merge request Development/openfoam!648
2023-12-05 09:48:42 +00:00
Kutalmis Bercin
1973c75899
STYLE: ReactingWeberNumber: rename WeberNumberReacting function object for consistency
2023-12-05 09:47:23 +00:00
Kutalmis Bercin
4c6b7217d1
ENH: KinematicWeberNumber: add new cloud function object
2023-12-05 09:47:23 +00:00
Mark Olesen
9c8c69a5f3
STYLE: less noisy setting of first/final iteration
2023-12-04 16:24:20 +00:00
Kutalmis Bercin
1482547756
BUG: facGrad: ensure compatibility between caching and corrections ( fixes #3039 )
2023-12-04 15:34:02 +00:00
mattijs
4609aa38e1
BUG: redistributePar: fix global object headerOk. See !605
...
- mesh/parallel/cavity not yet working since zero-sized mesh
not written on new processors.
2023-12-04 14:40:32 +00:00