optool icon indicating copy to clipboard operation
optool copied to clipboard

Format of -radmc output

Open TNeumann98 opened this issue 2 years ago • 1 comments

Dear Carsten, I am using optool to generate radmc3d- files which are processed further. I thought that the -radmc option in the command line gives you the correct format of the input file for radmc but apparently, radmc3d can just work with this file as long as you just consider absorption when you want to switch on scattering the file is mal-formatted. (It might be an incoherence with an update) I tried to find the part in your source code where you define how to set up the output file but I could not find it. The format in my current radmc3d version for the .inp-files is:

Material density = 3.710 g/cm^3

3 1000

1.000000e-01 2.707028e+04 2.358565e+04 8.810943e-01 1.011591e-01 2.714088e+04 2.357973e+04 8.796718e-01

Is there a possibility to change the output file to this specific format? Thank you in advance, Tina

TNeumann98 avatar Aug 02 '23 10:08 TNeumann98

Hi Tina,

please show the command you have been running. My suspicion is that you did run optool without the -s switch. In that case the scattering matrix is not written. So to prepare radmc3d for a run with scattering, produce the opacity files with

optool -s -radmc ......

You then get files that are called dustkapscatmat....inp

Carsten

On Wed, Aug 2, 2023, 12:47 Tina Neumann @.***> wrote:

Dear Carsten, I am using optool to generate radmc3d- files which are processed further. I thought that the -radmc option in the command line gives you the correct format of the input file for radmc but apparently, radmc3d can just work with this file as long as you just consider absorption when you want to switch on scattering the file is mal-formatted. (It might be an incoherence with an update) I tried to find the part in your source code where you define how to set up the output file but I could not find it. The format in my current radmc3d version for the .inp-files is: Material density = 3.710 g/cm^3

3 1000

1.000000e-01 2.707028e+04 2.358565e+04 8.810943e-01 1.011591e-01 2.714088e+04 2.357973e+04 8.796718e-01

Is there a possibility to change the output file to this specific format? Thank you in advance, Tina

— Reply to this email directly, view it on GitHub https://github.com/cdominik/optool/issues/4, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAIABOX7GZG5FNDW4THSFLXTIV4DANCNFSM6AAAAAA3BCOB2E . You are receiving this because you are subscribed to this thread.Message ID: @.***>

cdominik avatar Aug 02 '23 11:08 cdominik