-
#1. bas = flopy.modflow.ModflowBas(mf, ibound=ibound, strt=strt) lpf = flopy.modflow.ModflowLpf(mf, laytyp=0, hk=hk, layvka=1, vka=vka) stress_period_data = {0: bound_sp1} wel_sp2 = [] stress_period_data = {0: wel_sp1, 1: wel_sp2} ################################################################################################### stress_period_data = {} mf.write_input() success, mfoutput = mf.run_model() #################################################################################################### |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
Because you like don’t have a setting to save budgets out for a stress period. Sent from my iPhone516-637-2534On Oct 21, 2023, at 12:41 AM, Meng ***@***.***> wrote:
please!
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
@Alvin-prc you either need to set nonzero |
Beta Was this translation helpful? Give feedback.
-
I haven’t tried your code, but looks like you need to save budgets all or for specific stress periods. See example flopy.mf6.ModflowGwfoc( gwf,
head_filerecord=head_filerecord,
budget_filerecord=budget_filerecord,
saverecord=[("HEAD", "ALL"), ("BUDGET", "ALL")],Sent from my iPhone516-637-2534On Oct 22, 2023, at 8:22 AM, wpbonelli ***@***.***> wrote:
@Alvin-prc you either need to set nonzero ipakcb on the packages for which you would like budget output saved, or you can call oc.reset_budgetunit() to enable it for all relevant packages.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
@Alvin-prc you either need to set nonzero
ipakcb
on the packages for which you would like budget output saved, or you can calloc.reset_budgetunit()
to enable it for all relevant packages.