Skip to content
Snippets Groups Projects
  1. Nov 18, 2017
    • Henry Weller's avatar
      ENH: pimpleDyMFoam: Improved efficiency and consistency when running on a static mesh · 81cea099
      Henry Weller authored and Andrew Heather's avatar Andrew Heather committed
      Now pimpleDyMFoam is exactly equivalent to pimpleFoam when running on a
      staticFvMesh.  Also when the constant/dynamicMeshDict is not present a
      staticFvMesh is automatically constructed so that the pimpleDyMFoam solver can
      run any pimpleFoam case without change.
      
      pimpleDyMFoam: Store Uf as an autoPtr for better error handling
      
      pimpleFoam: Set initial deltaT from the Courant number
      
      for improved stability on start-up and compatibility with pimpleDyMFoam
      
      ENH: pimpleFoam: Merged dynamic mesh functionality of pimpleDyMFoam into pimpleFoam
      
      and replaced pimpleDyMFoam with a script which reports this change.
      
      The pimpleDyMFoam tutorials have been moved into the pimpleFoam directory.
      
      This change is the first of a set of developments to merge dynamic mesh
      functionality into the standard solvers to improve consistency, usability,
      flexibility and maintainability of these solvers.
      
      Henry G. Weller
      CFD Direct Ltd.
      
      tutorials/incompressible/pimpleFoam: Updated pimpleDyMFoam tutorials to run pimpleFoam
      
      Renamed tutorials/incompressible/pimpleFoam/RAS/wingMotion/wingMotion2D_pimpleDyMFoam
      
      -> tutorials/incompressible/pimpleFoam/RAS/wingMotion/wingMotion2D_pimpleFoam
      81cea099
  2. Aug 18, 2017
  3. Oct 10, 2017
  4. May 10, 2018
  5. Sep 19, 2017
  6. Oct 31, 2017
  7. Dec 09, 2017
    • Henry Weller's avatar
      BUG: compressibleInterFoam family: Corrected transonic option · 293c0c30
      Henry Weller authored and Andrew Heather's avatar Andrew Heather committed
      Resolves bug-report https://bugs.openfoam.org/view.php?id=2785
      
      ENH: compressibleInterFoam family: merged two-phase momentum stress modelling from compressibleInterPhaseTransportFoam
      
      The new momentum stress model selector class
      compressibleInterPhaseTransportModel is now used to select between the options:
      
      Description
          Transport model selection class for the compressibleInterFoam family of
          solvers.
      
          By default the standard mixture transport modelling approach is used in
          which a single momentum stress model (laminar, non-Newtonian, LES or RAS) is
          constructed for the mixture.  However if the \c simulationType in
          constant/turbulenceProperties is set to \c twoPhaseTransport the alternative
          Euler-Euler two-phase transport modelling approach is used in which separate
          stress models (laminar, non-Newtonian, LES or RAS) are instantiated for each
          of the two phases allowing for different modeling for the phases.
      
      Mixture and two-phase momentum stress modelling is now supported in
      compressibleInterFoam, compressibleInterDyMFoam and compressibleInterFilmFoam.
      The prototype compressibleInterPhaseTransportFoam solver is no longer needed and
      has been removed.
      293c0c30
  8. Nov 10, 2017
  9. Nov 07, 2017
  10. Oct 27, 2017
  11. Oct 23, 2017
  12. Oct 19, 2017
  13. Oct 18, 2017
  14. Sep 04, 2017
  15. Apr 04, 2018
  16. Jul 13, 2017
  17. Dec 14, 2017
  18. Dec 15, 2017
  19. Dec 13, 2017
    • Will Bainbridge's avatar
      ENH: rigidBodyModelState: Added time value member · fe595af8
      Will Bainbridge authored and Andrew Heather's avatar Andrew Heather committed
      The absolute value of the the time has been added to the rigid body
      model state. This value is not directly necessary for calculating the
      evolution of the rigid body system, it just facilitates the
      implementation of sub-models which are in some way time-dependent.
      fe595af8
  20. Dec 01, 2017
  21. Nov 29, 2017
  22. Nov 22, 2017
  23. Nov 16, 2017
    • Henry Weller's avatar
      ENH: surfaceFilmModels::waxSolventEvaporation, waxSolventViscosity: new wax/solvent film models · 512252a6
      Henry Weller authored and Andrew Heather's avatar Andrew Heather committed
      to support the evaporation of the solvent from the wax film and the changes in
      viscosity caused by the reduction in solvent content.
      
      BUG: filmViscosityModel::thixotropicViscosity: Corrected sign of impingement rate
      
      to compensate for rhoSp having the wrong sign
      
      BUG: surfaceFilmModels::waxSolventEvaporation: Corrected handling of impingement
      
      ENH: surfaceFilmModels::waxSolventViscosity: Changed mixing to mole-fraction based
      
      ENH: surfaceFilmModels::thermoSingleLayer: Added call to solveContinuity before updateSubmodels
      
      to allow sub-models to solve transport equations for conserved properties
      512252a6
  24. Nov 14, 2017
  25. Nov 09, 2017
  26. Nov 06, 2017
    • Will Bainbridge's avatar
      ENH: reconstructParMesh: Match face point averages on coupled patches · f30e0ab8
      Will Bainbridge authored and Andrew Heather's avatar Andrew Heather committed
      In the event that matching centroids across a coupled patch pair fails,
      we fall back to matching the face point average. The latter can be
      obtained more reliably on degenerate faces as the calculation does not
      involve division by the face area.
      
      This fallback was already implemented as part of processorPolyPatch.
      This change also applies it to the faceCoupleInfo class used by
      reconstructParMesh.
      f30e0ab8
  27. Nov 07, 2017
  28. Nov 02, 2017
  29. Oct 31, 2017
  30. Oct 30, 2017
    • Henry Weller's avatar
      ENH: compressibleInterPhaseTransportFoam: New variant of compressibleInterFoam... · dbc111e6
      Henry Weller authored and Andrew Heather's avatar Andrew Heather committed
      ENH: compressibleInterPhaseTransportFoam: New variant of compressibleInterFoam supporting separate phase stress models
      
      In this version of compressibleInterFoam separate stress models (laminar,
      non-Newtonian, LES or RAS) are instantiated for each of the two phases allowing
      for completely different modeling for the phases.
      
      e.g. in the climbingRod tutorial case provided a Newtonian laminar model is
      instantiated for the air and a Maxwell non-Newtonian model is instantiated for
      the viscoelastic liquid.  To stabilize the Maxwell model in regions where the
      liquid phase-fraction is 0 the new symmTensorPhaseLimitStabilization fvOption is
      applied.
      
      Other phase stress modeling combinations are also possible, e.g. the air may be
      turbulent but the liquid laminar and an RAS or LES model applied to the air
      only.  However, to stabilize this combination a suitable fvOption would need to
      be applied to the turbulence properties where the air phase-fraction is 0.
      
      Henry G. Weller, Chris Greenshields
      CFD Direct Ltd.
      dbc111e6
  31. Oct 27, 2017
  32. Oct 26, 2017
  33. Oct 20, 2017
    • Will Bainbridge's avatar
      BUG: RBD: restraints: Corrected restraint force transformations · 4dd8b3f2
      Will Bainbridge authored and Andrew Heather's avatar Andrew Heather committed
      The restraints generate either joint-local (tau) or global (fx) forces.
      At the moment they all generate the latter. This change corrects three
      of the four restraints so that the forces are in the gobal coordinate
      system and not the local coordinate system of the body.
      
      The problem with this is that the forward dynamics code then transforms
      most of the forces back to the body local coordinate system. A better
      solution would be to associate restraints which are more sensibly
      defined in a local frame with the joints instead of the bodies, and
      return the forces as part of the tau variable.
      4dd8b3f2
  34. Oct 19, 2017
    • Will Bainbridge's avatar
      ENH: semiPermeableBaffle: Added two new boundary conditions and a tutorial · 79ad0f06
      Will Bainbridge authored and Andrew Heather's avatar Andrew Heather committed
      Two boundary conditions for the modelling of semi-permeable baffles have
      been added. These baffles are permeable to a number of species within
      the flow, and are impermeable to others. The flux of a given species is
      calculated as a constant multipled by the drop in mass fraction across
      the baffle.
      
      The species mass-fraction condition requires the transfer constant and
      the name of the patch on the other side of the baffle:
      
      boundaryField
      {
          // ...
      
          membraneA
          {
              type            semiPermeableBaffleMassFraction;
              samplePatch     membranePipe;
              c               0.1;
              value           uniform 0;
          }
          membraneB
          {
              type            semiPermeableBaffleMassFraction;
              samplePatch     membraneSleeve;
              c               0.1;
              value           uniform 1;
          }
      }
      
      If the value of c is omitted, or set to zero, then the patch is
      considered impermeable to the species in question. The samplePatch entry
      can also be omitted in this case.
      
      The velocity condition does not require any special input:
      
      boundaryField
      {
          // ...
      
          membraneA
          {
              type            semiPermeableBaffleVelocity;
              value           uniform (0 0 0);
          }
          membraneB
          {
              type            semiPermeableBaffleVelocity;
              value           uniform (0 0 0);
          }
      }
      
      These two boundary conditions must be used in conjunction, and the
      mass-fraction condition must be applied to all species in the
      simulation. The calculation will fail with an error message if either is
      used in isolation.
      
      A tutorial, combustion/reactingFoam/RAS/membrane, has been added which
      demonstrates this transfer process.
      
      This work was done with support from Stefan Lipp, at BASF.
      79ad0f06
  35. Oct 18, 2017
  36. Oct 17, 2017