CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

addressing and loading on non boundary surface in Pre Processor

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 22, 2021, 12:19
Default addressing and loading on non boundary surface in Pre Processor
  #1
New Member
 
Sobhan
Join Date: Oct 2021
Posts: 4
Rep Power: 4
Sobhan is on a distinguished road
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


Sobhan is offline   Reply With Quote

Old   October 23, 2021, 05:57
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
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.
ghorrocks is offline   Reply With Quote

Old   October 23, 2021, 14:22
Default
  #3
New Member
 
Sobhan
Join Date: Oct 2021
Posts: 4
Rep Power: 4
Sobhan is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
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,
Thank you for your answer.
I implemented the gradient and it works. so wir get the normals.
Best regards
Sobhan






Last edited by Sobhan; November 2, 2021 at 04:02.
Sobhan is offline   Reply With Quote

Reply

Tags
iso surfaces, pre-process


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Foam-Extend 4.0 simpleFoam motorbike parallel error? EternalSeekerX OpenFOAM Running, Solving & CFD 0 May 10, 2021 04:55
[foam-extend.org] Foam-extend-3.1 on RHEL: mesh problem lxwd OpenFOAM Installation 4 March 25, 2017 16:10
SigFpe when running ANY application in parallel Pj. OpenFOAM Running, Solving & CFD 3 April 23, 2015 14:53
foam-extend_3.1 decompose and pyfoam warning shipman OpenFOAM 3 July 24, 2014 08:14


All times are GMT -4. The time now is 14:29.