Questions tagged [simulation]
Simulation is the process of mimicking the behaviour of a real physical process or system using a representative model.
21
questions
0
votes
0
answers
43
views
What techniques are there to take averages and errors in a Monte Carlo simulation in C? Can my code be improved?
I'm trying to perform a Monte Carlo simulation in C and these are the steps I'm following:
We assume an infinite reservoir compound of CO and NO molecules with partial pressures 𝑦CO and 𝑦NO(= 1 − 𝑦...
2
votes
1
answer
158
views
How to add damped constraint force to constrained dynamics simulation?
I have implemented a constraint dynamics physics simulation as proposed by Andrew Witkin et al 1990, but I cannot get the initial constraint "snapping" correctly.
I implemented
$$ JWJ^{T} \...
0
votes
0
answers
40
views
Advanced computing on FPGA
I am an absolute beginner in the FPGA topic (so far I have only implemented a couple of simple logic gates in Verilog and simulated them in ModelSim). I studied digital electronics, logic elements, ...
0
votes
0
answers
56
views
Why is Magnetic Susceptibility not showing the expected transition in 2D&3D Ising Model?
I'm trying to code the Ising Model with the metropolis algorithm to study the ferromagnetic-paramagnetic transitions. The code seems to work ; the equilibration happens. While equilibrating, the ...
0
votes
1
answer
50
views
Would a Co-simulation orchestrator work when a model uses a variable step size integrator
In every paper i was able to find, detailling the process of writing a co-simulation orchestrator (either Jacobi or Gauss-siedel), the paper assumed that both models were to compute their outputs on ...
0
votes
0
answers
34
views
Synchronous integration vs asynchronous integration in simulations with complex problems
Lets say i want to create a detailed simulation of a complex system. For instance a drone.
This simulation will have to contain a few models, each one with it's own requirements, for instance
A 6Dof ...
0
votes
0
answers
51
views
Calculating a 2D Ewald sum for a multipolar expansion
I am attempting to calculate the potential of a particle at the center of an infinite two-dimensional lattice as per the following reference:
Reference: Lambin, PH & Senet, P. Ewald Summation of ...
0
votes
0
answers
76
views
How can I compute the longest relaxation time?
Cross-posted on Stats.SE and on MMSE.
In the case of Monte Carlo simulations:
Autocorrelation Time ($\tau_{\text{int}}$): A measure of how many steps are needed for the correlations in the chain to ...
2
votes
1
answer
422
views
How to leverage the GPU for parallel 3-body problem computations
I have a 3-body simulation which must run millions of times.
As far as I know, the GPU shines when it gets to preform simple operations on huge matrices/arrays. Currently I'm debugging and running my ...
1
vote
0
answers
102
views
Can I reduce my simulation error with a staggered grid, postprocessing and compatibility equation feedback?
What I did
Using the finite difference method, I solved with a certain amount of error the following system of hyperbolic partial differential equations in cylindrical coordinates (the problem is ...
0
votes
0
answers
47
views
2nd-order backward difference approximation for temporal terms of Euler–Bernoulli beam
I am trying to solve the Euler–Bernoulli beam numerically in structural dynamics analysis:
$$\frac{\partial^2w(x,t)}{\partial t^2}= \frac {q(x,t)}{\mu(x)}-\frac {1}{\mu(x)}\frac {\partial^2}{\partial ...
0
votes
0
answers
65
views
Determining Stainless Steel Pipe Length for Heat Transfer to Reach 1000°C
I'm working on a Uni project where I need to determine the length of a stainless steel pipe that is required to heat a fluid up to 1000°C. The pipe will be placed in an oven that can reach up to 1400°...
0
votes
0
answers
45
views
How do we calculate solvent accessible surface area (SASA) for a system simulated with annealing protocols in Gromacs?
I calculated SASA for 4 systems using the following command. The trajectory file (run.xtc) is not treated with gmx trjconv option. In my MD simulation, I followed two annealing cycles in each 50 ns ...
0
votes
0
answers
13
views
Simulating a dataset from model output when model includes multiple binary deviation-coded variables
I am trying to simulate data using parameters from a glmer() model output. The model, which comes from a published paper, is as follows: DV ~ 1 + group* sex *verb type + trial number + (1 |participant)...
0
votes
0
answers
72
views
Softening vs Smoothing Length... Is There a Difference?
I have a simple questions on terminology. Is there a difference between softening length and smoothing length? I have been using the 2 terms interchangeably as the minimum distance between particles ...