Hi Sherry,
Great you appreciate using pyCloudy!
Hi All,I have a couple of questions regarding setting up geometry, ionizing source, and save commands in pyCloudy.1. How to set up a cylindrical geometry in pyCloudy? Would it be something like c_input.set_cylinder() ?
Anything that is not in a predefined method in the CloudyInput class can be set up using the set_others() method:
c_input.set_other(('no molecules', 'no level2 lines', 'no fine opacities', 'atom h-like levels small', 'atom he-like levels small', 'COSMIC RAY BACKGROUND', 'element limit off -8',
'cylinder log semi height=9.12',
))
2. I use customized stellar atmospheric models in Cloudy as my ionizing source. How do I read in customized models in pyCloudy?
c_input.set_star(SED = 'table Rauch', SED_params = (60000, 6.0), lumi_unit='luminosity solar log', lumi_value=55)3. I need to save specific emission line fluxes, and in Cloudy I do "save line list". In my pyCloudy-generated input files I saw a series of save commands such as "save last overview ".ovr" ", but I couldn't find where it came from.
c_input.set_line_file(line_file = 'mylinelist.dat', absolute=False)help(pc.CloudyInput)
help(pc.CloudyModel)
Thanks for your help, I am excited to run C3D once I have C1D set up correctly.-Sherry