|
[Sponsors] |
About adding a heat source to the fluid surface. |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 29, 2018, 00:16 |
About adding a heat source to the fluid surface.
|
#1 |
New Member
Qiyang He
Join Date: Oct 2018
Posts: 1
Rep Power: 0 |
Hello everyone,I'm a beginner of flow-3D,and I'm trying to put a heat source which is able to catch the free surface and heating the fluid at the catched surface from the z-axis direction.
I added these codes in the heatfl.F90, ---------------------------------------------------------------------------------------- if (xi(i).lt.(1.0e-4+5e-3*t).and.xi(i).gt.(0.8e-4+5e-3*t).and. & & yj(j).lt.2.6e-4.and.yj(j).gt.2.4e-4.and. & & zk(k).lt.1.8e-4.and.zk(k).gt.1.0e-4) then if (abs(fn(ijk)-0.5).lt.1.and.fn(ijkp).lt.0.6.and.fn(ijkm).gt.0) heatfl1=5e10 endif ---------------------------------------------------------------------------------------- and it did add a heat source to the surface, but it just continue finding another mesh cell to add heat source which did not exist since the laser just heat the fluid surface at the top level. It seems that only ijk, instead of any other cell index can be passed to fn subroutine. So I just want to get a skeleton of flow-3D and make change to other subroutine that can influence the whole process to work as a counter for heating the surface. Or there are any other way to do things like whar I said? Thank you. |
|
August 12, 2020, 01:26 |
|
#2 |
New Member
小橙
Join Date: Aug 2020
Posts: 3
Rep Power: 6 |
i note that free surface elevation(hyel) is the Z-coordinate of free surface. but i can't add the "hyel" into the subroutine.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] swak4foam for OpenFOAM 4.0 | mnikku | OpenFOAM Community Contributions | 80 | May 17, 2022 09:06 |
Question about adaptive timestepping | Guille1811 | CFX | 25 | November 12, 2017 18:38 |
[OpenFOAM.org] Error creating ParaView-4.1.0 OpenFOAM 2.3.0 | tlcoons | OpenFOAM Installation | 13 | April 20, 2016 18:34 |
[swak4Foam] swak4foam building problem | GGerber | OpenFOAM Community Contributions | 54 | April 24, 2015 17:02 |
DxFoam reader update | hjasak | OpenFOAM Post-Processing | 69 | April 24, 2008 02:24 |