Community header

Forum

Problem to find equilibrium under variable discharge

Mohammad Kifayath Chowdhury, modified 2 Years ago.

Problem to find equilibrium under variable discharge

Keen Forecaster Posts: 4 Join Date: 9/10/20 Recent Posts
Hi,
I have the following question-

1. I have been trying to calculate using the space marching method (initype=52) for unisize sediment single branch problem. For initype 2, the code runs smoothly but with 52 it crashes with the following set of messages-

***
Number of elements must not change. Use [] as one of the size inputs to automatically calculate the appropriate size for that dimension. in sediment_transport, at line 145 
The parents are: 
1)      march_step_uni, at line 62 
2)      ini_equi, at line 130 
3)      initial_condition_construction, at line 259 
4)      condition_construction, at line 85 
5)      ELV, at line 106 
6)      run_ELV, at line 53 
7)      oh_ELV_please_run, at line 157 
8)      main_run_single, at line 37 

*** 

I tried to follow the error code, but could not solve it. What is the problem in this case? I have attached the input file. 


Thanks in advance.
Best wishes,
Kifayath
Victor Chavarrias, modified 2 Years ago.

RE: Problem to find equilibrium under variable discharge

Famous Fortune teller Posts: 97 Join Date: 4/24/20 Recent Posts
Hi, 

The space marching method is something for Liselot to answer... I will reach her. The crash occurs because the size of `Mak` does not match with the number of flownodes (`dx`) and the number of effective size fractions (`nef`). There must be something murky there. Maybe you could stop in debug mode and check what are the dimensions of `Mak`. 

Regards, 

​​​​​​​V