[FLASH-USERS] flash-users Digest, Vol 108, Issue 7

Michiel Bustraan michiel.bustraan at astro.su.se
Mon Oct 31 06:42:54 EDT 2016


​Jonathan,

I replied to your email, but did not include the flash-users in the reply, so you might not have received my mail.
I'm sending this email that contains the same text. My apologies if you did receive the first one and have simply not yet replied.

I copied the cooling code from the supplementary units and put it into the source code, and included it with the modified setup command.
When running, the code recognizes the useCool command in the flash.par.

However, when running the code, the cooling doesn't seem to do anything, and there is no indication that cooling is being taken into account (in terms of timesteps or a statement when running the code). While the code is included in the compilation (since there was actually a minor error that I had to fix before I could compile) it doesn't look like the cooling is being calculated. Another sign of this is that I first forgot to include the cooling function data file, but got no error message at runtime.

So I'm not sure where the problem lies, but maybe your experience with the module can shed some light on the matter.

Kind Regards,
Michiel Bustraan​


________________________________
From: flash-users-bounces at flash.uchicago.edu <flash-users-bounces at flash.uchicago.edu> on behalf of Slavin, Jonathan <jslavin at cfa.harvard.edu>
Sent: Friday, October 7, 2016 7:33 PM
To: flash-users
Subject: Re: [FLASH-USERS] flash-users Digest, Vol 108, Issue 7

Hi Michiel,

I have used the SutherlandDopita formulation of optically thin radiative cooling with FLASH 4.3 and it does work.  I don't recall off the top of my head if I needed to do anything special to make it work.  You do need to get the cooling function data files, though a little googling will get you to Ralph Sutherland's site where they can be downloaded.  And you'll have to supply certain parameters in your flash.par including the path to the data file (as cool_fctn_file) and useCool = .true.  Also you'll need to supply the correct switch to setup:
-unit=physics/sourceTerms/Cool/CoolMain/SutherlandDopita
I think that's all.  If you run into trouble, ask me and I'll try to help.

Regards,
Jon

On Fri, Oct 7, 2016 at 1:00 PM, <flash-users-request at flash.uchicago.edu<mailto:flash-users-request at flash.uchicago.edu>> wrote:
Send flash-users mailing list submissions to
        flash-users at flash.uchicago.edu<mailto:flash-users at flash.uchicago.edu>

To subscribe or unsubscribe via the World Wide Web, visit
        http://flash.uchicago.edu/mailman/listinfo/flash-users
or, via email, send a message with subject or body 'help' to
        flash-users-request at flash.uchicago.edu<mailto:flash-users-request at flash.uchicago.edu>

You can reach the person managing the list at
        flash-users-owner at flash.uchicago.edu<mailto:flash-users-owner at flash.uchicago.edu>

When replying, please edit your Subject line so it is more specific
than "Re: Contents of flash-users digest..."

Today's Topics:

   1. Re:  Optically Thin Cooling (Klaus Weide)


---------- Forwarded message ----------
From: Klaus Weide <klaus at flash.uchicago.edu<mailto:klaus at flash.uchicago.edu>>
To: Michiel Bustraan <michiel.bustraan at astro.su.se<mailto:michiel.bustraan at astro.su.se>>
Cc: "flash-users at flash.uchicago.edu<mailto:flash-users at flash.uchicago.edu>" <flash-users at flash.uchicago.edu<mailto:flash-users at flash.uchicago.edu>>
Date: Thu, 6 Oct 2016 14:15:45 -0500 (CDT)
Subject: Re: [FLASH-USERS] Optically Thin Cooling
On Thu, 6 Oct 2016, Michiel Bustraan wrote:

> I noticed that the current FLASH userguide refers to a Cooling module which only contains stub level routines (the files themselves don't seem to do anything).
>
> However, in a userguide for FLASH2.5, there is a more detailed description of the optically thin Cooling module.
>
>
> Is FLASH still capable of modelling optically thin radiative losses?

You should get the collection

  FLASH4.2.2_supplementary_units.tar.gz

available from the code support page at

  http://flash.uchicago.edu/site/flashcode/

(You should find a link there under DOWNLOADS).

You will find several implementations of CoolMain in there. I believe
these are implementations that were ported from FLASH2 to FLASH3 at some
point in time, and have had some minor updates for FLASH4, but have not
been used or tested (at least at the Flash Center) since then.

Klaus


_______________________________________________
flash-users mailing list
flash-users at flash.uchicago.edu<mailto:flash-users at flash.uchicago.edu>
http://flash.uchicago.edu/mailman/listinfo/flash-users




--
________________________________________________________
Jonathan D. Slavin                 Harvard-Smithsonian CfA
jslavin at cfa.harvard.edu<mailto:jslavin at cfa.harvard.edu>       60 Garden Street, MS 83
phone: (617) 496-7981       Cambridge, MA 02138-1516
cell: (781) 363-0035             USA
________________________________________________________

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20161031/a6aa9cff/attachment.htm>


More information about the flash-users mailing list