[FLASH-USERS] Problem with a CurrentSheet problem modification

Ryan Farber rjfarber at umich.edu
Wed Jul 10 18:20:43 EDT 2024


Hi Emmanuel,

1. The Circuits model changed a decent bit from FLASH4.7.1 to FLASH4.8
2. I don't know that 2D cartesian is supported for CESZAR currently. Only
1D unit tests for CESZAR exist that I've seen.

General-ish debugging help:
 - navigate to your object directory
 - grep (-i to be case insensitive because Fortran is case insensitive) the
abort message (or a suitable subset, in this case "getCellFaceArea")

In your case, you will see that gr_getCellFaceArea.F90 expects to only
compute face areas for the K-face if the problem is 3D (whereas you're
doing 2D so it aborts).

Next general step: find what is calling the offending subroutine
 - grep -in "call gr_getCellFaceArea" *.F90
 - grep -in "call Grid_getBlkData" *.F90

-> Circuit_fluxCalc.F90

copy to your problem directory (probably CurrentSheetCESZAR) and modify
based on your desired problem (looks like you'd want to compute fluxes in y
not z).

Best wishes,
--------
Ryan


On Wed, Jul 10, 2024 at 11:43 AM Emanuel Escobar <
emanuel.escobar.lavin at gmail.com> wrote:

> Dear Flash community, I hope this message finds everyone well. I am
> writing about a problem I can't fix now. I am trying to simulate a
> modification of the CurrentSheet problem. In my case, I have added boundary
> conditions as shown in the file ProblemScheme.jpg and changed the variable
> condition of the Magnetic field by a constant value. At this point, the
> changes are all working well.
> However, when I try to add source terms associated with a current model
> (CESZAR in my case) the simulation is aborted (abort_message:
> getCellFaceArea : this face doesn't exit). The error messages are shown in
> the files Screenshot_from_2024-07-10 14-33-30.png and
> currentSheet_mhd_2d.log.
> Please, if anyone can give me some idea of how I can fix and understand
> this problem I would really appreciated.
> Best regards
> Emanuel Escobar Lavín
> B.Eng., Aerospace Engineer
> M.Sc.Eng., major in Mechanics
> Phone: +56 (2) 29761906 - +56 (9) 72133822
>
> _______________________________________________
> flash-users mailing list
> flash-users at flash.rochester.edu
>
> For list info, including unsubscribe:
> https://flash.rochester.edu/mailman/listinfo/flash-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20240710/60d7b807/attachment.htm>


More information about the flash-users mailing list