Getting the coordinates of quadrature points for the CHT case #492
Replies: 4 comments 19 replies
-
Did you try to |
Beta Was this translation helpful? Give feedback.
-
Could it be that |
Beta Was this translation helpful? Give feedback.
-
Can you dump just the solid elements in the t-mesh:
I just tested it (on 2 ranks) using the |
Beta Was this translation helpful? Give feedback.
-
How do you average along the homogenous directions? I can think of two ways: 1) planar_avg (works only for extruded or tensor-product meshes) or 2) pointInterpolation. |
Beta Was this translation helpful? Give feedback.
-
tl;dr: The coordinates I'm getting only make sense for a single MPI rank, and I can't figure out why.
As an example, I'll use the
conj_ht
example.I've added the following to
UDF_ExecuteStep
to debug the coordinates:In the case of
conj_ht
, there are 96 (nx = 8, ny = 4, nz =3) elements in themeshV
and 96 (nx = 8, ny = 2, nz = 3, times 2) elements in the solid domain, i.e. 192 elements in thenrs->cds->mesh[0]
. The fluid has y coordinates between 0 and 1, and the solid has y coordinates <0 and >1.If I look at the resulting
coordinates
files:nrsmpi conj_ht 1
, there aremesh->Nelements * mesh->Np
entries in the file (good), and the second half of the file has coordinates inside the solid (good).nrsmpi conj_ht 2
, there aremesh->Nelements * mesh->Np / 2
entries in each file (good), but there are no coordinates inside the solid anywhere (i.e. not a single minus sign) (bad).How do I get the coordinates inside the solid for a CHT case?
Context: I'm implementing averaging in the homogeneous direction and wanted to validate my node mapping.
Beta Was this translation helpful? Give feedback.
All reactions