|
[Sponsors] |
addressing and loading on non boundary surface in Pre Processor |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
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: 5 |
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,870
Rep Power: 144 |
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: 5 |
Quote:
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 05:02. |
||
Tags |
iso surfaces, pre-process |
|
|
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 05:55 |
[foam-extend.org] Foam-extend-3.1 on RHEL: mesh problem | lxwd | OpenFOAM Installation | 4 | March 25, 2017 17:10 |
SigFpe when running ANY application in parallel | Pj. | OpenFOAM Running, Solving & CFD | 3 | April 23, 2015 15:53 |
foam-extend_3.1 decompose and pyfoam warning | shipman | OpenFOAM | 3 | July 24, 2014 09:14 |