Change of plan - fields will be stored or referenced only at the solver level...
Change of plan - fields will be stored or referenced only at the solver level and tmps will be returned from the clouds to give them their instantaneous values. Only T and U will be supplied to the dsmcCloud, as before, to provide boundary conditions. Added required field calculation functions. Taking care about what is measured - a U field requires sum(momentum)/sum(mass) per cell - cells can have zero particles in them, hence divide by zero problems. Averaging the momentum field and the rhoM field, and constructing the velocity by dividing the averages as a post-processing stage is a safer and more physcially correct method.
Showing
- applications/solvers/dsmc/dsmcFoam/createFields.H 17 additions, 4 deletionsapplications/solvers/dsmc/dsmcFoam/createFields.H
- applications/solvers/dsmc/dsmcFoam/dsmcFoam.C 18 additions, 0 deletionsapplications/solvers/dsmc/dsmcFoam/dsmcFoam.C
- src/lagrangian/dsmc/clouds/Templates/DsmcCloud/DsmcCloud.C 84 additions, 0 deletionssrc/lagrangian/dsmc/clouds/Templates/DsmcCloud/DsmcCloud.C
- src/lagrangian/dsmc/clouds/Templates/DsmcCloud/DsmcCloud.H 38 additions, 1 deletionsrc/lagrangian/dsmc/clouds/Templates/DsmcCloud/DsmcCloud.H
- src/lagrangian/dsmc/clouds/Templates/DsmcCloud/DsmcCloudI.H 221 additions, 4 deletionssrc/lagrangian/dsmc/clouds/Templates/DsmcCloud/DsmcCloudI.H
- src/lagrangian/dsmc/parcels/Templates/DsmcParcel/DsmcParcel.C 22 additions, 6 deletions...lagrangian/dsmc/parcels/Templates/DsmcParcel/DsmcParcel.C
Please register or sign in to comment