Register Blogs Members List Search Today's Posts Mark Forums Read

 October 22, 2021, 13:19 addressing and loading on non boundary surface in Pre Processor #1 New Member   Sobhan Join Date: Oct 2021 Posts: 4 Rep Power: 4 Greeting, I have a question about the addressing of non-boundary surface in Pre Processor. so I want to calculate "normal z" or "area_z" variables either in 3D subdomain or address “normal z” /”area_z” on 2D non boundary surface, which are calculating in every time step. it means normal z on e.g. the calculating free surface of fluid, which is varying in every time step. I can show the normal vectors in post processing CFD Post (choosing variable on Iso Surface), but the question is, how can I define such Iso surface in Pre-Processor and use it for loading during the solving process? As background: I try to simulate laser absorption on the free surface of molten pool (during welding process). The free surface was calculated via VOF method. The laser is implemented via Monte Carlo method. The absorption coefficient on the surface of molten pool depends on the curvature of free surface. So I have a table of variation of absorption coefficient due angle of laser beam with the curvature of molten pool free surface. SO I want to define specification of the Iso surface in pre Processing to calculate its normal angle with the laser beam Thank you in advance

 October 23, 2021, 06:57 #2 Super Moderator   Glenn Horrocks Join Date: Mar 2009 Location: Sydney, Australia Posts: 17,622 Rep Power: 142 All I can think of is to take the gradient of the volume fraction field and make the absorption coefficient a function of the gradient, but include a function which sets the absorption coefficient to zero if the volume fraction is less than 0.5. Will this do what you are looking for? __________________ Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.

October 23, 2021, 15:22
#3
New Member

Sobhan
Join Date: Oct 2021
Posts: 4
Rep Power: 4
Quote:
 Originally Posted by ghorrocks All I can think of is to take the gradient of the volume fraction field and make the absorption coefficient a function of the gradient, but include a function which sets the absorption coefficient to zero if the volume fraction is less than 0.5. Will this do what you are looking for?

Dear Horrocks,
I implemented the gradient and it works. so wir get the normals.
Best regards
Sobhan

Last edited by Sobhan; November 2, 2021 at 05:02.

 Tags iso surfaces, pre-process