How zhiwar-ep/coffee works
This repository is a coupled YADE–OpenFOAM coffee-bean drying simulation case. The workflow combines a configured OpenFOAM case with a YADE particle/spring model; YADE advances particles and exports sphere and spring results. The provided tree also documents chemistry, heat transfer, radiation, pyrolysis, and material-property configuration. Only excerpts of yade.py were supplied, so internal calls beyond those visible there are not inferred; links between configured solvers and the coupling script are shown as unverified.
Main entry points: o.foam OpenFOAM case · yade.py YADE particle simulation · blockMeshDict Mesh and regions · controlDict Solver controls
Components 25
OpenFOAM Case
- OpenFOAM case
o.foam - Mesh and regions
system/blockMeshDict - Solver controls
system/controlDict - Initial fields
system/setFieldsDict - Parallel decomposition
system/decomposeParDict - Numerical schemes
system/fvSchemes - Solution settings
system/fvSolution
Physics Configuration
- Chemistry and reactions
constant/chemistryProperties - Pyrolysis
constant/pyrolysisProperties - Heat transfer
constant/heatTransferProperties - Radiation
constant/radiationProperties - Thermophysical properties
constant/thermophysicalProperties - Solid properties
constant/solidThermophysicalProperties - Boundary radiation
constant/boundaryRadiationProperties - Turbulence model
constant/turbulenceProperties
YADE Particle Model
- YADE particle simulation
yade.py - Bean geometry inputs
0.orig - Fluid coupling
constant/yadeProperties - Particle springs
yade.py - MPI exchange
yade.py
Simulation Output
- Sphere export
yade.py - Spring export
yade.py - OpenFOAM output
system/controlDict
Other components
- Case operator
- Visualization tools
Connections 25
- Case operator → OpenFOAM case: sets up
- Case operator → YADE particle simulation: runs
- OpenFOAM case → Mesh and regions: uses
- OpenFOAM case → Solver controls: uses
- OpenFOAM case → Initial fields: uses
- OpenFOAM case → Parallel decomposition: uses
- OpenFOAM case → Numerical schemes: uses
- OpenFOAM case → Solution settings: uses
- OpenFOAM case → Chemistry and reactions: configures
- OpenFOAM case → Pyrolysis: configures
- OpenFOAM case → Heat transfer: configures
- OpenFOAM case → Radiation: configures
- OpenFOAM case → Thermophysical properties: configures
- OpenFOAM case → Solid properties: configures
- OpenFOAM case → Boundary radiation: configures
- OpenFOAM case → Turbulence model: configures
- YADE particle simulation → Bean geometry inputs: reads
- YADE particle simulation → Fluid coupling: uses
- YADE particle simulation → Particle springs: updates
yade.py - Particle springs → MPI exchange: exchanges data
yade.py - YADE particle simulation → Sphere export: exports spheres
yade.py - Particle springs → Spring export: exports springs
yade.py - OpenFOAM case → OpenFOAM output: writes
- Sphere export → Visualization tools: visualizes
- Spring export → Visualization tools: visualizes