UDF code to transfer the midpoint of Inlet to Origen
I have to write a code in UDF to apply the non-linear Inlet Profile. the problem is that the Coordinate System is not in the Midpoint of Inlet. and I have to write a Code that transfers the Local Coordinate System to the midpoint of Inlet.
I already try to transfer the midpoint of the Inlet (all Model) in ICEM to Origen of local Coordinate System, in this case, the model is transfers but the Mesh not, and because of this Problem, I Prefer to write a con in UDF to transfer the Origen to the midpoint of the Inlet.
any Tipps or solution will be very helpful for me.