Tagged Questions

Simulation is the process of mimicking the behaviour of a real physical process or system using a representative model.

learn more… | top users | synonyms

0
votes
0answers
11 views

Parameter estimation with RNetLogo : chosing estimation technique with both continuous and discrete parameters

I want to estimate parameters for an agent-based model in Netlogo using R and the RNetLogo ...
2
votes
1answer
73 views

Poisson solver diverged

My 2D-Poisson solver is build for simulation of semiconductor. The algorithm is Gauss-Seidel iterative method. If I use simple PN junction for simulation testing, it diverged while I applied high ...
4
votes
2answers
255 views

What are the differences between CFD simulations and realistic ocean/atmosphere model simulations?

The field of computational fluid dynamics (CFD) is dedicated to solving the Navier-Stokes equations (or some simplification of them). A subset of CFD, ocean and atmospheric models numerically solve ...
2
votes
2answers
111 views

Using Trilinos and/or Petsc in Windows with Visual Studio?

I am currently working on a project of building a simulator. Up till now I have mostly played around with very simple examples, but with regards to the future I have been thinking that it might be a ...
1
vote
1answer
90 views

Confusion in modeling and computing [closed]

I come from a computer graphics background without any professional in computational science. But I find my job(game engine development) being related to this field. May I ask some general questions ...
3
votes
1answer
92 views

Numerically solve a PDE in Python with a term calculated by coarse-graining

I'm trying to solve a PDE in Python of the form, $\dfrac{\partial c(\mathbf{x}, t)}{\partial t} = \mathrm{D} \nabla^2 c(\mathbf{x}, t) -\gamma \rho(\mathbf{x}, t) c(\mathbf{x}, t)$ where $c$ ...
0
votes
0answers
15 views

What are the specific generic properties do Ansys consider while running a Non Linear Analysis?

When Working on Ansys Non Linear Static Structural Analysis, I couldn't comprehend while defining and assigning material properties to corresponding bodies. When I give different random values for ...
2
votes
2answers
79 views

Simulating interaction of Smart Fluids with Solids

Is it possible to simulate interaction of Smart Fluids with Solids? Is there a software capable of doing so? What I Know: The two software that I know of are Autodesk Simulation Mechanical and ...
5
votes
1answer
136 views

Lagrange Multipliers in Multi-body Finite Element Code

I'm working on a Multibody dynamics code using the finite element method to simulate the behaviour of flexible beams (using this paper if anyone is interested/ it is relevant). I'd like to model ...
2
votes
2answers
143 views

Which processor should I consider buying for a desktop built for scientific computing?

I run Python/C simulations for biological problems, so the range of computational tasks can be broad. Here are some examples: 1) continuum model simulations: FEM type 2) agent-based simulations: ...
4
votes
1answer
54 views

Iteratively refine bounds on exp for Metropolis criterion

In Monte Carlo simulations, using the Metropolis criterion, one often has to compare a random number $a$, $0 \leq a < 1$, to the Boltzmann distribution $exp(-\beta\Delta E)$, where $\Delta E$ is ...
0
votes
0answers
24 views

Particle Collision to Static paticles

I have a system of particles with equal distance with each other and another at random positions which is moving with time. I want to know: a) The method by which I can reduce the number of particles ...
0
votes
1answer
122 views

PyOpenGL/OpenGL Generating Cosmic NBodys

I am working on a Universe Simulator. I'm stuck on creating the dark matters webs of the universe that look like this: http://www.mpa-garching.mpg.de/galform/data_vis/sim3dnew-highres.png I am ...
0
votes
2answers
182 views

How can I create a computational model of the human eye?

I need to create a program that can simulate the optical system of the human eye. The input will be any image, the output would be the image that is projected onto the retina. I need it to be as ...
2
votes
3answers
170 views

Implementation of Navier-Stokes Equation for Ocean Waves

I am doing an undergraduate research to model ocean waves in shallow waters in real time. I am trying to base my research on Navier-Stokes equations since they produce the most accurate mathematical ...
4
votes
4answers
107 views

Removing non-determinism from molecular dynamics code

I've been looking through the other answers, and I haven't found a good answer yet. I'll describe the simulation I am running, and then the problems. The program simulates particles undergoing ...
0
votes
4answers
149 views

What scale problem can be simulated on an PC using Smooth Particle Hydrodynamics?

I want to simulate tidal features in a large body of water using was smooth particle hydrodynamics. For a system composed of an incompressible fluid, what general scale of problem can be tackled with ...
2
votes
0answers
39 views

Algorithms for adding hydrogens on a molecule

I want to add hydrogens to some linear polymer molecules (polyethylenes). I know some working methods like using PyMOL internal function h_add. This method works, but hydrogens are added at distances ...
1
vote
1answer
101 views

Is it possible to simulate fluid dynamics in a time-based and deterministic manner?

The Problem Domain I have a number of network-connected PCs. I want to be able to simulate and replicate the same simple fluid dynamics simulation (E.g. Navier-Stokes), in real-time, between them. ...
8
votes
2answers
279 views

Why do the shape of finite elements matter?

I have used FEA for a couple of years now, but using it and using it correctly are two different things, safety factor is not the solution to everything. I have the feeling I won't be using it right ...
8
votes
1answer
155 views

Efficient Gravitational Field Implementation

I asked a similar question on physics.stackexchange, being ignorant about this website. I am basically looking for an efficient way to implement gravitational fields. I have a huge 2D space, with ...
3
votes
0answers
41 views

Discretizing boundary conditions for vortex methods

I am working on a fluid simulation using vortex methods. For this I must compute the vortex sheet on my boundaries given as: $$ \gamma(\mathbf{x}) - \frac{1}{\pi}\int_S ...
3
votes
1answer
139 views

Euler's equations for a tube with varying cross-section

$\def\pd{\partial}$ $\def\l{\left}\def\r{\right}$ $\def\mdot{{\dot{m}}}$ $\def\eps{\varepsilon}$ Consider a tube with longitudinal coordinate $x$ from $0$ to $l$ and varying cross-section $A(x)$. ...
3
votes
3answers
167 views

Monte Carlo estimation of Pi with Buffon's needle

Is there a way of estimating Pi with the Buffon's method without assuming Pi known? To be more precise: in a Monte Carlo simulation of the experiment invented by Buffon I would (ideally) generate 2 ...
2
votes
1answer
173 views

Celestial mechanics simulation software? The 'N-Body Problem'

What software or sites might simulate an N-body gravitational problem? Application is related to Klemperer Rosette or Iridium Satellites. Bias for C, C++, PHP, or Java. Nice visuals a big plus. ...
4
votes
0answers
74 views

Tracking for two meshes

I'm dealing with physical simulation (position based dynamic). Now I'm trying to realize tracking for two meshes. In order to explain what does it mean, let's assume that we have two similar meshes: ...
2
votes
1answer
63 views

Barnes-Hut algorithm and recursion limit

If while distributing particles to their corresponding nodes, two particles comes closer to a level smaller than the machine precision (or $\Delta d \to 0$), how is the situation to be treated? Should ...
0
votes
0answers
44 views

Numerical strategy to detect the point of detachment over the wall of cylinder in the simulation of unsteady flow over circular cylinder

I am working on unsteady simulation of flow over circular cylinder where we get Kármán vortex street. Kármán vortex street is a repeating pattern of swirling vortices caused by the unsteady separation ...
3
votes
1answer
108 views

Increasing thread number degrades performance

I have a problem with parallelization and the brownian dynamics (molecular dynamics) code that I am using. We have our own home-grown framework at the university, and recently we've made the change ...
4
votes
2answers
99 views

Solving system of differential equations with interconnected boundary conditions

I am trying to solve the following system of differential equations numerically over the domain $x=0$ to $x=D$. The main difficulty is that the boundary conditions are interconnected and depend on the ...
1
vote
0answers
23 views

Generating magnetic turbulence spectrum

I am trying to code up a model of magnetostatic turbulence and am having issues with the build. The paper that I am referring to is titled "Anomalous diffusion and Lévy random walk of magnetic field ...
0
votes
0answers
70 views

Sorting eigenvalues by the dominant contribution

[Edited to simplify the question] I am trying to associate the eigenvalues $E$ of a matrix $H$ to the original rows of the matrix. Moreover, it would be trivial to sort the eigenvalues in ascending ...
6
votes
2answers
159 views

Simulating advection over a network of 1D pipes

I am trying to create a simulation to help visualize how different chemical components flow through a network of pipes with associated valves, pumps, and chemical inputs. In this simulation, the pipes ...
0
votes
0answers
39 views

Calculating the number of molecules diffusing out of a volume

I have a system of reactions that are governed by differential equations. They are reacting inside of a volume with known dimensions i.e l*b*h. I don't have any other information on their position ...
1
vote
1answer
325 views

Particle Tracking Code - MATLAB vs. C++

First some background, I am a mathematician by training with very little formal training in programming. I am most comfortable in MATLAB and have been working with it for a long time. My second choice ...
0
votes
0answers
117 views

Problem with initial/boundary conditions for 1D flow simulation

I am trying to simulate numerically the flow between the atmospher and a pipe in Matlab, where the initial condition within the pipe is ...
2
votes
1answer
82 views

Detect rigid body motions in a cloud of points

This question popped up today in our group meeting. Suppose you are given a cloud of N points in 2D and each is associated with a velocity vector. These points are associated with particles on a 2D ...
3
votes
0answers
84 views

N-body simulation for particles

I would like use N-body simulation for measure a torque on an object in a liquid (helium). It's a 2D study. On the site : http://www.browndeertechnology.com/docs/BDT_OpenCL_Tutorial_NBody-rev3.html I ...
3
votes
0answers
112 views

Sound Waves Simulation in 3D Environment

I want to do a simulation of sound waves including wave propagation, absorption, and reflection in 3D space. I did some research and I found this question in stackoverflow but it talks about ...
1
vote
4answers
441 views

Best PARALLEL numerical solver of first order differential equation

I have a system of 256 differential equations that I want to solve numerically. The system represents the Liouville equation, which is a first order, linear differential equation with complex numbers. ...
6
votes
2answers
258 views

Feasibility and software for acoustic simulation

I'm looking at doing a finite-element simulation of air flow essentially for the purposes of approximating the response to an external audio impulse of a smallish (~10-30 cm scale), stationary ...
1
vote
0answers
58 views

How can i find the coordination number with voro++?

Could anybody please help with voro++ cause i am new to this software?My problem is how can i find the coordination number of an atom ,cause i checked it for a bcc lattice and it gave me 24 for all ...
0
votes
1answer
102 views

Non-deterministic/probabilistic molecular dynamics simulations

I'm looking for a piece of software for performing molecular dynamics simulations with the following specifications: required: well published (as in there are papers citing it in one or more ...
3
votes
1answer
83 views

numerical inaccuracy ellipsoid-ellipsoid collision

I am trying to implement ellipsoid-ellipsoid collision in my C++ code. Briefly this task can described as next: Let's assume that we have two arbitrarily oriented ellipses in the in space and this ...
3
votes
0answers
81 views

What are the governing equations solved in coupled atmosphere-ocean models?

In (hydrostatic) atmospheric general circulation models, for example the so-calle Primitive Equations, consisting of the horizontal momentum equation, the hydrostatic balance, the continuity equation, ...
4
votes
3answers
184 views

Is Discrete Exterior Calculus currently a focusing point in numerial computing world or simulation in industry,

I am just wondering if Discrete Exterior Calculus, as a new numerical method , is good at numericall solving problems in elasticity, fluids or other physical/real area.
0
votes
1answer
99 views

Simulating the motion of a elastic body under gravity [closed]

I am doing a numerical simulation of a elasticity problem. It is very simple. A cuboid elastic body with the right end fixed on the wall, under the gravity(but here I set it to be 1 along the z-axis ...
0
votes
0answers
250 views

Any note on Immersed boundary finite difference method?

For parts of a talk, I need a note on "Immersed boundary finite difference method", mainly about the reason of appearing this branch in the finite difference methods, considering mathematical ...
3
votes
4answers
170 views

Finding a molecular dynamics visualization library for C

I asked this question over at stackoverflow, and got blasted for it. I am currently working with legacy MD code written in C that my university uses, and haven't moved to a more modern library like ...
1
vote
1answer
104 views

Simulate aerodynamics of a general shape object

I'm trying to code a simple physics simulator in C++ but I'm stuck on the air resistance issue. Surfing the Internet I only find a drag coefficient for very basical area shapes when the air is ...