Skip to content
Permalink
Tree: 4f7f488f22
Commits on May 9, 2019
  1. directFieldMapper, setSizeFieldMapper: new specialised field mappers …

    Henry Weller
    Henry Weller committed May 9, 2019
    …for decomposition and reconstruction
    
    Using the new field mapper framework it is now possible to create specialised
    mappers rather than creating a fatter and fatter interface in the base mapper.
    This approach is far more extensible, comprehensible and maintainable.
Commits on May 7, 2019
  1. fieldMapper: Moved distributed functionality to distributedWeightedFv…

    Henry Weller
    Henry Weller committed May 7, 2019
    …PatchFieldMapper
  2. fvOptions: Added volumeFractionSource and solidEquilibriumEnergySource

    Will Bainbridge
    Will Bainbridge committed May 3, 2019
    The volumeFractionSource represents the effect of a reduction in the
    volume of the domain due to the presence of a stationary phase, most
    likely a solid porous media. It only represents the dynamic effects
    associated with the reduction in volume; it does not does not model
    loss, drag or heat transfer. Separate models (e.g., the existing
    porosity models) will be necessary to represent these effects. An
    example usage, in system/fvOptions, is as follows:
    
        volumeFraction
        {
            type            volumeFractionSource;
            phase           solid;
            phi             phi;
            rho             rho;
            U               U;
            fields          (rho U e);
        }
    
    The volume fraction will be read from constant/alpha.<phase>, and must
    be generated in advance using setFields or a function object. Note that
    the names of the flux, density (if compressible) and velocity must all
    be specified. Every field for which a transport equation is solved
    should also be specified in the "fields" entry.
    
    The solidEquilibriumEnergySource adds the thermal inertia and diffusive
    characteristics of a stationary solid phase to the energy equation of
    the fluid, assuming that the two phases are in thermal equilibrium. An
    example usage is as follows:
    
        solidEqulibriumEnergy
        {
            type            solidEqulibriumEnergySource;
            phase           solid;
            field           e;
        }
    
    This will read the volume fraction in the same way as the
    volumeFractionSource option. In addition, thermal properties of the
    solid will be constructed from settings in
    system/thermophysicalProperties.<phase>.
    
    Two tutorials have been added, demonstrating use of these options in
    both incompressible and compressible simulations. These are
    incompressible/pimpleFoam/laminar/blockedChannel and
    compressible/rhoPimpleFoam/laminar/blockedChannel.
Commits on May 3, 2019
  1. rigidBodyMeshMotion, sixDoFRigidBodyMotion: lookup g from the mesh ra…

    Henry Weller
    Henry Weller committed May 3, 2019
    …ther than time
    
    It would be more logical if g were registered to time but less flexible.
  2. fvPatchField: Rationalised autoMap

    Henry Weller
    Henry Weller committed May 3, 2019
  3. Renamed FieldMapper -> fieldMapper: it is an abstract base class for …

    Henry Weller
    Henry Weller committed May 3, 2019
    …field mapping, not templated
Commits on May 2, 2019
  1. Field: Replaced autoMap with support in the map functions for mapping…

    Henry Weller
    Henry Weller committed May 2, 2019
    … to self
    
    Avoids clutter in the interface and code duplication.
  2. Field: Moved FieldMapper mapping functions to FieldMapper and made vi…

    Henry Weller
    Henry Weller committed May 2, 2019
    …rtual
    
    This allows easier extension and specialisation of field mapping.
Commits on Apr 30, 2019
  1. waveSuperposition: Fixed name clash and memory leak

    Will Bainbridge
    Will Bainbridge committed Apr 30, 2019
Commits on Apr 29, 2019
  1. Field: Remove "applyFlip" from the low-level field mapping

    Henry Weller
    Henry Weller committed Apr 29, 2019
    This functionality should be implemented and applied at a higher level so that
    it can be controlled more easily and applied only to flux fields.
  2. DTCHull tutorials: rename fields to .orig

    Henry Weller
    Henry Weller committed Apr 29, 2019
    to avoid them being overwritten during renumbering
  3. decomposePar: Apply face-flipping to surfaceScalarFields only

    Henry Weller
    Henry Weller committed Apr 29, 2019
    Flux fields (surfaceScalarFields) are flipped as before but this process is no
    longer applied to surfaceVectorFields (Uf etc.) for which it is not appropriate.
    decomposePar is now consistent with reconstructPar with respect to
    surfaceVectorFields.
    
    Patch contributed by Mattijs Janssens.
Commits on Apr 27, 2019
  1. regIOobject: changed the "valid" argument name to "read" for read fun…

    Henry Weller
    Henry Weller committed Apr 27, 2019
    …ction and "write" for write functions
    
    This clarifies the purpose which is to indicate that the object should be read
    or written on this particular processor rather than it is or is not valid.
Commits on Apr 26, 2019
  1. snappyLayerDriver: Partially revert added support for patch manipulat…

    Henry Weller
    Henry Weller committed Apr 26, 2019
    …ion of pointFields
    
    commit 3cbb932
    Pending further work on field mapping.
    
    Patch contributed by Mattijs Janssens
  2. fvMesh: Ensure V0 is written if V00 exists for restart of backward di…

    Henry Weller
    Henry Weller committed Apr 26, 2019
    …fferencing
  3. IATEsources::randomCoalescence: Protect source from unboundedness in …

    Henry Weller
    Henry Weller committed Apr 26, 2019
    …kappai
  4. reconstructPar: Prevent moving flag from being set

    Will Bainbridge
    Will Bainbridge committed Apr 26, 2019
    Setting the moving flag as a result of a reconstruction of the mesh at a
    new time was causing lagrangian reconstruction to fail, as the necessary
    moving mesh data had not been cached.
Commits on Apr 25, 2019
  1. reactingEulerFoam: Reorganised continuity error update to avoid fluid…

    Henry Weller
    Henry Weller committed Apr 25, 2019
    … properties being recalculated unnecessarily
    
    in particular avoiding IATE being solved a second time after the energy
    solution.
Commits on Apr 24, 2019
  1. dynamicMotionSolverFvMesh, motionSolver: added support to write the m…

    Henry Weller
    Henry Weller committed Apr 24, 2019
    …otion state when the mesh is written
  2. coordinateSystems::cylindrical: Corrected addressing of the rotation …

    Will Bainbridge
    Will Bainbridge committed Apr 24, 2019
    …tensor for a cellZone
  3. coordinateSystems::cylindrical: Corrected addressing of the rotation …

    Henry Weller
    Henry Weller committed Apr 24, 2019
    …tensor for a cellZone
  4. fvMesh: Do not alter the moving state on construction

    Will Bainbridge
    Will Bainbridge committed Apr 24, 2019
    fvMesh no longer sets the mesh state to moving when meshPhi and old-time
    volume data is present. This is unecessary because a solver should
    always initialise a mesh update before any time-derivatives are
    calculated. Setting the mesh as moving complicates the usage of some
    utilities and post-processing applications in which time is not
    incremented.
    
    The meshPhi and old-time volume data are still read in if present to
    ensure restart consistency.
Commits on Apr 23, 2019
Commits on Apr 18, 2019
Commits on Apr 17, 2019
  1. coordinateSystems::cylindrical: Added special handling for cell centr…

    Henry Weller
    Henry Weller committed Apr 17, 2019
    …es on the axis
Commits on Apr 15, 2019
  1. test/fvMeshTools/cavity: Added Allclean script

    Henry Weller
    Henry Weller committed Apr 15, 2019
Commits on Apr 12, 2019
  1. masterUncollatedFileOperation: Trigger caching of times to ensure con…

    Henry Weller
    Henry Weller committed Apr 12, 2019
    …sistency across processors
    
    Allows global status of unwatchedIOdictionary to be reinstated.
    
    Patch contributed by Mattijs Janssens
Older
You can’t perform that action at this time.