Please wait...
×

Error

  • Evaluate Solvers and Thread Number Setting for Numerical Performance

    I'm seeking assistance with a runtime error I encountered while running a FEFLOW simulation. The error message is: "RuntimeError: '(0, 0, 'samg') (0, 1, 'samg') (0, 2, 'samg') (0, 3, 'samg') SAMG terminated with error flag = 1 at time-stage 1: 'General error (unclassified)'!" This occurred when I used the example from this link: https://github.com/DHI/ifm/blob/master/examples/set-threads-solver-measure-runtime.ipynb on my model. The SAMG solver was not included in the solver_list of the provided example, but after I added it, I received the error. What should I do? also explain: for samg and petsc_amg  i am getting W A R N I N G :   T i m e   s t e p   r e d u c t i o n   a t   t   =   0 . 1 8 6 3 2 8   i s   g i v e n   u p   a f t e r   1 2   c y c l e s   o f   r e j e c t i o n s ! 
  • increasing computational efficiency to reduce simulation time.

    I am working on levee failure analysis. For that , I am performing multiple simulation on a levee model by changing the boundary conditions and time series in each simulation. I have 20,000 such simulation criteria. The model I have considered is an unsaturated model in a transient state. I am using Python to generate boundary conditions and time series, run the simulation, save the required results, and then reset the model by deleting boundary conditions and time series. I am using SAMG equation solver. I have tried with both settings, in which I kept the threads for matrix assembly and matrix solving to default and also changed it to single threaded, but the results were not significant; it changed only for 15-20 seconds. For performing one simulation, it's taking a lot of time; for example, for a single simulation, it's taking 4-5 minutes. It will not be possible to perform all 20,000 simulations if it takes this much time. How can I reduce the computational time so that I can achieve the required results? 
  • 'Unspecified error' when running multiple simulation and long computation time.

    I am getting 'unspecified error' message when running multiple simulations. I have to change boundary conditions in every simulations and then delete them after extracting results in each simulation . I have to perform 10000 such simulation. But after running some simulation it's getting stuck and then giving error message 'unspecified error'.  I am using 'SAMG' equation system solver. Number of threads for matrix assembly as single threaded. Number of threads for matrix solving as default. The another problem I am facing is computational time. It's taking a lot of computational time to solve a single simulation( approximately 5-10 minutes or sometimes more). How can I increase the computational speed? when I am using PETSc_ksp it's giving another error : Attempting to use an MPI routine after finalizing MPICH.
  • RE: parallel computing in python script

    Thank you for your reply. Actually, i used Monte Carlo simulation to produce Stage hydrographs, which i have to import in fem model. Which is time consuming. is there any way by which i can reduce computation time? 
  • parallel computing in python script

    I am using a Monte Carlo simulation. Due to this simulation, it is taking a lot of time (approximately 40 hours). Can I use parallel computing in my script? If yes, then how?
  • Constant time stepping kind

    I want to use constant time stepping for simulation in feflow 8.0 . As per python API the function for constant time stepping accepts two arguments: initial increment and total number of time steps. Using python how can I set total number of time steps?
  • Time Based Boundary condition assignment using Python

    I want to import a .pow file using python, that contains time series with different IDs. I want to add this file in the .FEM model using python. I want to assign boundary conditions (hydraulic head = ID 1 from pow file. and max and min flow rates = rest of the IDs in alternate (like ID = 2 for min and ID = 3 for max flow rate etc.). This .pow file contain the data of time and stage for each ID(eg is shown below). How can I do that?