Hi,
I've been using IAMR with AMReX Embedded Boundaries for external-flow benchmarks — currently flow past a circular cylinder — and I'm trying to figure out the right way to compute surface forces and wall quantities on EB geometries.
What I'm after: drag and lift forces (broken down into pressure and viscous contributions), wall shear stress τw, and the standard aerodynamic coefficients Cd and Cl.
Digging through the source code, I can see that the EB infrastructure exposes volume fractions, face area fractions (apx, apy, apz), EB boundary area fractions (bndryarea), boundary normals (bndrynorm), and boundary centroids (bndrycent) — so the raw ingredients for surface integration seem to be there. What I haven't found is any documented example of how these are actually combined to integrate forces over an EB surface.
One thing I'm particularly uncertain about: computing the pressure contribution seems relatively straightforward once you have bndryarea and bndrynorm, but the viscous part requires reconstructing velocity gradients directly at the EB face, which doesn't align with the grid — so I'm not sure what the recommended approach is there.
So a few questions:
- Is there a standard AMReX/IAMR workflow for computing drag and lift on EB bodies, or is everyone essentially rolling their own?
- Are there any helper utilities for integrating pressure and viscous stresses over an EB surface, or is that always custom code?
- Is wall shear stress something that falls out of existing EB data structures, or does it typically require a separate post-processing step with gradient reconstruction at the EB face?
- Do any of the AMReX-based codes — PeleC, PeleLM, or others — have working examples of Cd, Cl, or τw evaluation on EB geometries? Even a rough reference implementation would be hugely helpful.
- Is there a go-to validation case where these quantities are benchmarked against reference data?
For the cylinder case at moderate Reynolds numbers, I'd like to reproduce the standard benchmark quantities: mean drag coefficient Cd_mean, RMS lift coefficient Cl_rms, and Strouhal number — along with the τw distribution along the surface.
Any pointers to docs, examples, or just how people normally approach this would be really appreciated.
Thanks!
Hi,
I've been using IAMR with AMReX Embedded Boundaries for external-flow benchmarks — currently flow past a circular cylinder — and I'm trying to figure out the right way to compute surface forces and wall quantities on EB geometries.
What I'm after: drag and lift forces (broken down into pressure and viscous contributions), wall shear stress τw, and the standard aerodynamic coefficients Cd and Cl.
Digging through the source code, I can see that the EB infrastructure exposes volume fractions, face area fractions (
apx,apy,apz), EB boundary area fractions (bndryarea), boundary normals (bndrynorm), and boundary centroids (bndrycent) — so the raw ingredients for surface integration seem to be there. What I haven't found is any documented example of how these are actually combined to integrate forces over an EB surface.One thing I'm particularly uncertain about: computing the pressure contribution seems relatively straightforward once you have
bndryareaandbndrynorm, but the viscous part requires reconstructing velocity gradients directly at the EB face, which doesn't align with the grid — so I'm not sure what the recommended approach is there.So a few questions:
For the cylinder case at moderate Reynolds numbers, I'd like to reproduce the standard benchmark quantities: mean drag coefficient Cd_mean, RMS lift coefficient Cl_rms, and Strouhal number — along with the τw distribution along the surface.
Any pointers to docs, examples, or just how people normally approach this would be really appreciated.
Thanks!