[FLASH-USERS] HOW BDRY WORKS IN FLASH
史路林
shilulin at impcas.ac.cn
Fri Jan 3 02:48:44 EST 2025
Dear Flash users,
In the process of running the study, the problem of free expansion of the solid target boundary is encountered. After previous adjustments, BDRY=1 (solids) and BDRY=-1.0 (fluids) were used to distinguish between solids and fluids.
It was found that during the operation, the laser energy could not be deposited well, and the laser beam was completely reflected.
So I want to know how this BDRY works? and whether there are other ways to distinguish between fluid and solid interfaces, such as adjusting the degree of ionization.
The program I modified is in the attachment part, and the main changes are:
1. Added to the Simulation_adjustEvolution.F90 file:
if (blkPtr(TARG_SPEC,i,j,k) > 933(aluminum)) then
blkPtr(BDRY_VAR,i,j,k) = -1.0
end if
if (blkPtr(TARG_SPEC,i,j,k) < 933) then
blkPtr(BDRY_VAR,i,j,k) = 1.0
2. Added to the Simulation_initBlock.F90 file:
#ifdef BDRY_VAR
call Grid_putPointData(blockId, CENTER, BDRY_VAR, EXTERIOR, axis, bdry)
If you've had this problem before, or know how to fix it, please get back to me, thank you!
Best regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20250103/9d2354c3/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ????_20250103153735.png
Type: image/png
Size: 70976 bytes
Desc: not available
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20250103/9d2354c3/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Simulation_adjustEvolution.F90
Type: application/octet-stream
Size: 3407 bytes
Desc: not available
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20250103/9d2354c3/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Simulation_initBlock.F90
Type: application/octet-stream
Size: 6080 bytes
Desc: not available
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20250103/9d2354c3/attachment-0003.obj>
More information about the flash-users
mailing list