AxisVM / AxisVM/pyaxisvm

bad result when calling `CriticalNodalSupportForce`

Open
#33 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Jupyter Notebook
Stars
11
Forks
2
PR merge metrics
No merged PRs in 30d

Description

The COM server does not return the critical support forces correctly, when `IAxisVMForces.CriticalNodalSupportForce` or `IAxisVMForces.CriticalNodalSupportForce2` is called.

A minimal code snippet to reproduce the problem. provided that an AxisVM is running and it was started with the `/MULTIINSTANCECOMCLIENTS` argument

```python
from axisvm.com.client import start_AxisVM
from axisvm.com.axapp import IAxisVMApplication
from axisvm.com.axmodel import IAxisVMModel
from axisvm.examples.downloads import download_bernoulli_grid
import axisvm.com.tlb as axtlb

axapp: IAxisVMApplication = start_AxisVM(visible=True, join=True, daemon=False)
axapp.model = download_bernoulli_grid()

axmodel: IAxisVMModel = axapp.model
axforces = axmodel.Results.Forces

axforces.AnalysisType = axtlb.atLinearStatic
axforces.LoadLevelOrModeShapeOrTimeStep = 1
axforces.CombinationType = axtlb.ctAuto
axforces.Component=axtlb.nsfRz
axforces.MinMaxType=axtlb.mtMin

record = axforces.CriticalNodalSupportForce(NodalSupportId=5)[0]
Rz_min = record.Rz # this value is wrong
```

**According to the model, the value of `Rz_min` should be `-72.018`.**

**Another interesting phenomenon is that the API returns a smaller value for `axtlb.mtMax` than for `axtlb.mtMin`.**

This is the node in the model:
![image](https://github.com/AxisVM/pyaxisvm/assets/92053129/342b387c-f6c9-413f-baf5-5a9bf1d9a9db)

I have tried to get the correct value with all possible combination types, other than `axtlb.ctAuto`, but none of them yields the correct value.

System details:
- Windows 11 (64 bit)
- Python 3.10.9
- AxisVM version: X7 R2b-qf3

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.