Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • openfoam openfoam
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 413
    • Issues 413
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 7
    • Merge requests 7
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • openfoamopenfoam
  • Merge requests
  • !532

ENH: turbulentDigitalFilter: Synthetic fluctuations of scalars

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Kutalmış Berçin requested to merge feature-synthetic-turbulence-methods into develop Apr 21, 2022
  • Overview 0
  • Commits 3
  • Changes 98

Aim

To enable synthetic fluctuations of scalars (e.g. temperature or contaminant concentrations) for the turbulentDigitalFilterInlet boundary condition.

Previous status

  • Produces only vector-based fluctuations​
  • Input entries of mean and Reynolds stresses are limited to be either constant or simple wall-normal profiles​
  • Contains unresolved bugs​:
    • #1725 ​
    • #2262 (closed)​
    • #2267 (closed) (Parallelisation)​
    • #2329 (closed) (FSM is inoperative)​
  • Domain rotations/translations are not possible​
  • Parallelisation and scaling are problematic​
  • Restart is problematic​
  • Mapping fluctuations onto an inlet patch is problematic and limited to only the nearest-cell option​
  • Adjustable time-step simulations are not possible

Improvements

  • Produces vector- or scalar-based fluctuations​
  • New input-entry types: ​
    • Mean and Reynolds stresses have become PatchFunction1 type​
    • Time-variant input for mean and Reynolds stresses is possible​
    • Number of input entries have been simplified by reducing the number from 16 to 8, most of which are default valued.​
  • Resolves the reported bugs
  • Domain rotations/translations are improved​
    • Users can set a local coordinate system​
  • Parallelisation and scaling are improved​
  • Restart is improved​
  • Mapping fluctuations onto an inlet patch is improved and generalised​
    • Users can select an AMI mapping method for the mapping operation​
  • Adjustable time-step simulations are possible for the FSM option​
  • Removes Taylor's frozen turbulence assumption for the streamwise integral scale calculations

Resolved bugs

#1725 ​ #2262 (closed)​ #2267 (closed) #2329 (closed)

Methodology

Results

DFM - only vector

DFM - only scalar

DFM - vector+scalar

FSM - only vector

FSM - only scalar

FSM - vector+scalar

Meta-data

EP#1730

  • Clean compilation (incl. submodules):
    • linux64ClangDPInt32Opt (clang11)
    • linux64GccDPInt32Opt
    • linux64GccSPDPInt64Debug
  • Alltest: No new error

Future work - Constraints

  • Test scope should be extended further for:​
    • Integral length scales​
    • Domain rotations and/or translations​
    • Multiphase-flow cases​
    • Dynamic-mesh cases​
    • Overset meshes​
    • Mesh (un)refinements​
    • Collated-data format​
    • Hybrid and single precisions​
  • transformPoints utility has no effect on boundaryData input, which can slow down case preparations for input sets which need to be rotated/translated
  • Scalar-based condition​
    • No constraints on nonpositive output​
    • Scarce and ambiguous academic resources​
    • No cross-correlations​
      • Not easy to produce/find benchmark data from theory or measurements​
      • Usefulness is not clarified by academia​
  • DFM​
    • Incomplete parallelisation of the three-dimensional separable convolution due to the lack of no open-source algorithms​
  • The use of redistributePar -decompose utility is not supported.
Edited Jun 07, 2022 by Kutalmış Berçin
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: feature-synthetic-turbulence-methods