Hello,
I am trying to interpolate a 3D temperature field to my extruded model, but am having trouble.
md.initialization.temperature=InterpFromMeshToMesh3d(index1,x0_ASE,y0_ASE,z_dave,T_ASE,md.mesh.x,md.mesh.y,md.mesh.z,253);
I have defined "index1" as a vector with dimensions x0_ASE, y0_ASE, z_dave, which, combined, are the same dimension as the gridded field T_ASE.
When I type in the above command line, I get
"Error using InterpFromMeshToMesh3d
Error in ==> ./modules/InterpFromMeshToMesh3dx/InterpFromMeshToMesh3dx.cpp
InterpFromMeshToMesh3dx error message: nothing to be done according to the mesh given in input"
But my temperature field in the model does not vary with depth and only consists of the one layer I defined in my 2d SSA model...
Please advise!
Thanks,
Emily