Hello everyone,
    I'm experiencing some kind of problem working with model reduction 
functionality in chrono. 
    I'm using the ChModalAssembly for modeling and reduction (as repented 
in the tutorial)
First I create the system
```
ChSystemNSC sys; auto qr_solver = chrono_types::make_shared<ChSolverSparseQR
>(); sys.SetSolver(qr_solver);
....
```
Then creating my model object
```
auto sp = chrono_types::make_shared<Pannel>(); 
sys.Add(sp);
```

The mesh is loaded from external TetGen file
```
ChMeshFileLoader::FromTetGenFile(mesh_internal, ///< destination mesh 
pathToNodesFile.c_str(), ///< name of the .node file pathToEleFile.c_str(), 
///< name of the .ele file mmaterial, ///< material for the created 
tetahedrons VNULL, ///< optional displacement of imported mesh ChMatrix33<>(
1) ///< optional rotation/scaling of imported mesh ); 
```
Then I do the reduction
```
SetModalMode(true); SwitchModalReductionON( nModes, // The number of modes 
to retain from modal reduction, or a ChModalSolveUndamped with more settings 
ChModalDampingRayleigh(0.001, 0.005) // The damping model - Optional 
parameter: default is ChModalDampingNone(). );
```

After the reduction the program crashes with SEGV at either
```
ComputeModesDamped(10);
```
or (if the above is commented out) at

```
sys.DoStepDynamics(step_size);
```
The model has 1302 nodes and 3441 elements
It's very frustrating since I don't know where my mistake may be

Thanks in advance for your help

Regards,
Victor

-- 
You received this message because you are subscribed to the Google Groups 
"ProjectChrono" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/projectchrono/fb56d55a-2641-49d5-b7ee-8248fb5c203cn%40googlegroups.com.

Reply via email to