5,791 questions
0
votes
0
answers
44
views
USDFLD subroutine [closed]
see ATTACHED image on modelling the LPBF process and using USDFLD subroutine to control the transition from field1=1 (powder) into field1=2 (solid) , see attached image, when temperature exceeds ...
-1
votes
0
answers
15
views
nlmixr2: Data for Myelosupression example [closed]
I am having trouble locating the Myelosuppression Data in https://nlmixr2.org/articles/wbc.html. This line of example code is not running.
d3 <- read.csv("...
0
votes
0
answers
54
views
Using ROS2 and Webots on MacOS [closed]
I have tried many different approaches for developing with ROS2 and Webots on a Macbook M1. However, i have ran into multiple problems.
ROS2 doesn't support MacOS
Webots doesn't support Ubuntu in VM ...
1
vote
1
answer
96
views
Hard reset gekko model to initial state
I am working on a simulation tool for a certain heat exchange system. I first design the system using a certain routine, and then assess it's off-design performance. For the off-design performance I ...
-1
votes
1
answer
121
views
Calculating second focal point of planetary orbit [closed]
With a 2d physics simulation in JavaScript I am trying to determine the second focus of an ellipse. My system's eccentricity is too low. The point moves around too much and isn't where it should be. ...
1
vote
1
answer
87
views
How to distinguish between OS-triggered vs app-simulated input events in Android?
I’m working on an Android project where I need to handle user input events (KeyEvent, MotionEvent) consistently.
Sometimes these events come from real user input (keyboard/touch), and other times I ...
0
votes
0
answers
32
views
SOFA: elastic band tunnels through pegs under high strain/fast motion
I control two grippers with two Geomagic devices in a SOFA scene. The task is to grasp a soft elastic band (a torus) and place it into target configurations (shown at the beginning of the task).
When ...
1
vote
1
answer
43
views
Initial Storage for Storage Yards in Material Library
My model simulates a container terminal with a storage yard. This results in a large number of containers needed at the beginning of the model for loading processes. Unfortuantely, my model version of ...
0
votes
2
answers
99
views
Is there a better way to simulate work in unit tests? [closed]
My company is finally starting to introduce unit tests.
While going through some of the new tests, I came across this one:
[Test]
public void GetCorrectTimeoutInfoFromTimeSpan()
{
// Arrange
...
1
vote
0
answers
70
views
Simulation 6 Dof on Mujoco (Joint always moving without controlling)
I'm new and currently working on my 6 Dof Arm project, right now I am try to simulate it using Mujoco but I don't really understand why and how it works, here is the problem: My 6 Dof Arm is always ...
1
vote
2
answers
100
views
Issues with boundary layers in step propagation
I am trying to create a function which receives the transversal profile of a beam and outputs the transversal profile propagated by some distance. To exemplify the task, here is the profile of a ...
0
votes
0
answers
64
views
trace.vcd not generated despite enabling VerilatedVcdC and --trace
I'm trying to generate a trace.vcd waveform from an NVDLA simulation using Verilator. My testbench is written in nvdla.cpp, and I have added the typical waveform dumping logic:
if VM_TRACE
...
2
votes
1
answer
161
views
What's making these two neutron stars not get closer to each other? (Kilonova Simulation with Python)
Here's my code that I've made to simulate two neutron stars resulting in a kilonova:
import numpy as np
import matplotlib.pyplot as plt
G = 6.6743e-11
c = 299792458
R_ns = 12000
m1 = m2 = 3.5e31
...
1
vote
1
answer
47
views
How can I prevent direction-biased sorting while moving values in a grid of tiles?
I am attempting to make a simple, flowing dynamic across a grid of tiles for a game. Essentially, I want water values of cells in the grid to flow to one adjacent cell each frame according to a couple ...
0
votes
1
answer
32
views
Solidworks simulation API problem accessing Study.Results
In Solidworks simulation I'm having trouble making a VBA macro to automate some operations on Load Case Manager results sets. A part of the code fails at an odd point for an unknown reason, and I can'...