instruction stringlengths 43 28.1k |
|---|
Introduction
I've developed a code to solve for generalised, incompressible 2D Stokes flow
$\eta \nabla^2 \mathbf{v} - \nabla p + \mathbf{S} = 0$
$\nabla . \mathbf{v} = 0$
where $\mathbf{S}$ can include forces or gradients of an additional stress tensor $\Pi$,
$\mathbf{S} = \mathbf{f} + \nabla . \mathbf{\Pi} + \cdots$.... |
I have a sparse matrix coming from the discretization of a 3D elliptic PDE. The matrix is banded with seven non-zeros diagonals. The sparsity pattern of the matrix looks like this (the actual matrix is much larger):
It is worth noting that it is positive definite, but not symmetric.
I would like to compute the eigenva... |
I would like to numerically solve the following system of 2 coupled partial differential equations for the unknown functions $\psi_X(x,y,t)$ and $\psi_C(x,y,t)$:
$\partial_t \psi_X = -i\psi_C - i\vert\psi_X\vert^2 \psi_X$
$\partial_t \psi_C = -i F(x,y)\exp{[i(k^p_x x+k^p_y y - \omega_p t)]} -i\psi_X -i [\delta - \Delta... |
I am using Galerkin's method to set up some pde solver for my problems(1D/2D) at hand.
Some abrupt material interfaces do exist, so far, what I did regarding this is simply:
1) no element across the interface, i.e. nodes exactly lie at the interfaces.
2) no special B.C. imposed on interfaces, just natural B.C.(as it is... |
At the mean-field level, the dynamics of a polariton condensate can be described by a type of nonlinear Schrodinger equation (Gross-Pitaevskii-type), for a classical (complex-number) wavefunction $\psi$. Its form in momentum space reads (in 2+1 dimensions):
\begin{multline}
i \frac{d}{dt}\psi(k) =\left[\epsilon(k)
-i\... |
The classical streaming operator used in FHP lattice gas automata is this:
$$n_i(r - c_i, t + 1) = n_i(r, t)$$
However if you think in terms of the streaming itself, it should be something like $$n_j(r + c_i, t + 1) = n_i(r, t)\qquad\text{where}\,j=(i+3)\,mod\,6$$
This image illustrates my point :
Basically what I am... |
I am comparing the performance several finite difference methods of solving an initial-boundary value problem. There are several dimensions to this comparison:
Number of cells
Number of timesteps
Solution Method:
Explicit (one sweep on a single thread, no iterations)
Alternating Direction Explicit (two sweeps on sepa... |
I was reading Twenty Questions for Donald Knuth and was intrigued by Knuth's argument in question 17 for why he suspects P=NP. In the discussion he asks why you couldn't have an algorithm bounded by a finite but incredibly large polynomial order.
I am not a computer scientist, but I don't know of any really high-order ... |
I have an infinite subset $S$ of $\mathbb{N}^k$ which I know (or at least strongly suspect) is a finite union of regions, each of which is defined by finitely many linear equalities and inequalities (with integer coefficients). I would like to find an explicit description of $S$, i.e., sets of (in)equalities that defin... |
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 results. As a start I am supposed to study an existing implementation of the 3D Navier-Stokes equations.
Where can I fin... |
Is there a complexity degree that is bigger than $O(n)$ and smaller than $O(n \log n)$?
|
I am currently working on a 2D finite element code with a mesh that contains duplicate nodes at certain interfaces where jumps occur. In order to set up the appropriate linear systems, I have to take the mesh connectivity information and locations of mesh nodes, and manipulate them to determine which elements are adjac... |
I'm writing code that uses a lot of graph operations; many higher-level algorithms iterate over all the graph edges and do some processing on them. There's an iterator method that returns a batch of edges, like so:
G.get_edges(edges,iterator,num_edges);
for (k = 0; k < num_edges; k++) {
i = edges[k,0];
j = edge... |
Which numerical methods would be optimal to find an extremum of a function with an almost flat "valley" (but a single minimum in the middle of the valley)? In this context optimal means the least number of function evaluations.
For simplicity's sake, assume that it's a two-dimensional problem.
Also, of importance may b... |
A PQR file of a protein describes the positions in $x$, $y$ and $z$ and the charges of every atom in it. If you have them, you can construct the charge density $\rho(x)$ of the protein, then use it to find the potential $\phi(x)$. The Boltzmann distribution is useful when you can't or don't know how to build the $\rho(... |
I am trying to accurately calculate $\vec{j} \cdot \vec{E}$ for an electron energy equation on a finite-volume mesh. $\vec{j}$ is the electron current density, and $\vec{E}$ is the electric field. On the vertex centered mesh, I know $\phi$ at the center of each cell (where $\vec{E} = \nabla \phi$) and I also have a f... |
I want to minimize two different functions simultaneously who have the same inputs. The functions are both linear and non-exponential.
$$F_1(X_1, X_2) = a_1X_1 + a_2X_2$$
$$F_2(X_1, X_2) = b_1X_1 + b_2X_2$$
I would prefer to do this in R.
Thanks again
|
Would you know what is the condition for stability for the advection-diffusion equation where we treat the diffusion part using Crank-Nicholson and the advection part using FCTS (forward in time centered in space)? I am applying von Neumann analysis but I am not sure about the final condition for stability. Do you know... |
If one wants to solve a problem in physics, one often has to deal with very small numbers because of the units, e.g. the energy range of interest of semiconductors lies in the region $eV \approx 10^{-19}J$. For a given problem one could derive equations that are using scaled properties, e.g. instead of SI units using a... |
LAPACK has following 4 routines for calculating eigenvalues of a real symmetric matrix; namely DSYEV, DSYEVD, DSYEVX and DSYEVR (DSYEVR being the recommended one).
If I were to calculate both eigenvalues and all the eigenvectors, how many floating point operations would each of the routine take. Are all these routines... |
I am using cvx to solve linear programs with constraints of the form $Ax=b,x\ge0$. However the matrix $A$ is rank deficient and cvx returns a warning and finally displays status as 'Infeasible'. Rank deficient systems can have a solution and my guess is that my system does have a solution. Is there a way to make cvx so... |
What type equation Navier-Stokes is: Elliptic, parabolic, or hyperbolic? Should it give always the same answer no matter what is the initial condition? How these statements could be proved?
|
What are the best FGMRES implementations in various languages/frameworks? In particular, are there any good quality Matlab implementations?
I am referring to the variation of GMRES where a changing or nonlinear preconditioner is allowed by keeping track of the preconditioned vectors as well, as discussed in Saad's pape... |
I wish to model a fishing rod (or a rope) by joining short segments. (The segments may have equal (short) length but each segment should be assigned its own individual mass.) One segment will influence the next by the torque between the segments. For the time being the joints can be regarded as plate springs (torque pr... |
I am trying to solve the 2D Poisson equation numerically:
$ \frac{\partial ^2 \phi}{\partial x^2} + \frac{\partial ^2 \phi}{\partial y^2} = 1 $
with the Dirichlet boundary condition $\phi = 0$.
I used the finite element and finite difference approach on a regular grid of 6 × 6 points. The model size is 1 × 1 m. The res... |
I want to do a 3-dimensional FFT on this function $\frac{\cos (x) \cos (y) \cos (z)-\sin (x) \sin (y) \sin (z)}{\left((1.0001+\sin (y)+\cos (z))^2+(0.0001+\cos (x)+\sin (z))^2+(0.0001+\sin (x)+\cos (y))^2\right)^{3/2}}$ for it looks intractable via analytical Fourier expansion. Let's denote the number of numerical samp... |
I want to model a fishing rod and received a suggestion. I therefore try to follow the mathematics (Lagrange) of the double pendulum. I do not understand how to proceed in the step that Wikipedia calls "Substituting the coordinates above and rearranging the equation gives ...".
What I get is totally wrong.
Thanks
17/6 ... |
If I want to create a high quality figure to illustrate a scientific concept or experiment I usually use tikz together with pgfplots or pstricks. However this is for static content. Both tools are extremely powerfull for it's purpose and give high quality results. Furhtermore there is a large database of examples, very... |
I am a new learner of Unix, python and Gurobi for MIP calculation. I basically finish reading the quick start guide in Gurobi website but still feel that I need more training to use this combination to automatically write MIP input files. Do anyone have some suggestion on any available trainings (especially in using Un... |
I am trying to fit data to a polynomial using Python - Numpy. The points, with lines sketched above them are as in the picture.
I am trying to fit those points to a polynomial of 4. or 5. degree. However, all I can get is nothing more than a line. The coefficients of other than linear terms are too small. I tried to do... |
I'm writing a small library for sparse matrix computations as a way to teach myself to make the best use of object-oriented programming. I've worked really hard on having a nice object model, where the parts (sparse matrices and the graphs which describe their connectivity structure) are very loosely coupled. In my own... |
I'm working on an image processing project and have written some of my algorithms in OpenCL. At the moment I'm using Cloo.
I'm at the stage now where I want to optimise my program, as it currently runs too slowly.
I'm also thinking it might be worth investigating some other implementations of OpenCL.
I have tried to... |
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 accurate as possible. I am a little lost at the moment, I have been reading up on optics, and I get that, but on the computat... |
I want to solve the biharmonic equation numerically, that is:
$$\Delta^2 u=f~~in~~\Omega$$
$$u=g_1~~on ~~\partial \Omega$$
$$\frac {\partial u}{\partial n}=g_2~~on ~~\partial \Omega$$
Using Green's formula, we have that if $u$ is smooth enough
$$\int_{\partial \Omega}\frac {\partial \Delta u}{\partial n}v-\int_{\Omega... |
I have a Voronoi diagram that I need to calculate the area of each cell.
This Voronoi diagram is produced by Voronoi command in MATLAB.
To find the vertices of the Voronoi cell I use Voronoin command in MATLAB, but the problem is that the first row of the v is (inf, inf), so the area of all voronoi cells near the bound... |
I'm looking for some general insight on preconditioning. In particular, relevant references/resources/comments would be greatly appreciated. Note, I have been through some of the literature, but am having trouble finding a reference for a problem similar to the one I am solving.
The system I'm solving takes the form
$Q... |
I am dealing with a system of non-linear equations:
$$
f(\boldsymbol{x}) = \boldsymbol{y}, \;\;\; \boldsymbol{x}, \boldsymbol{y} \in \mathbb{R}^d.
$$
And I know that the Jacobian $J(\boldsymbol{x})$ is positive definite:
$$
\boldsymbol{z}^T J(\boldsymbol{x}) \boldsymbol{z} \geq \epsilon > 0, \;\;\;\;\;\;\forall \; \bo... |
Background:
I am currently running a large amount parameter variation experiments.
They are being run in Python 2.6+, using numpy.
These experiments are going to take about 2 weeks to run.
Roughly I am varying 3 parameters (independent variables) over a range of values.
I am fixing 6 further independent variables (for ... |
I would like to know if there is a commercialization of simulations? Or is it only in academic usage?
|
Good day.
I am trying to implement the EGO optimization algorithm. The algorithm itself is rather long to describe here in full. It is presented here, with another example of usage here.
But before I implement the algorithm, I have decided to test the DACE model on a simple 1-d function.
I am receiving strange results... |
I am solving a system of two coupled PDE's in two spatial dimensions and in time computationally. Since the function evaluations are expensive, I would like to use a multistep method (initialised using Runge-Kutta 4-5).
The Adams-Bashforth method using five previous function evaluations has a global error of $O(h^5)$ (... |
What is a good direct method to compute the spectral decomposition / Schur decomposition / singular decomposition of a symmetric matrix?
"Direct" means as in LU decomposition, Cholesky decomposition, or Golub's SVD algorithm, in contrast to iterative methods.
You can, of course, apply the aforementioned algorithm of Go... |
Is it possible to construct a constrained tetrahedral mesh of a domain using Tetgen or similar software? What I mean by constrained is that there are some nodes or edges that are not free but are predefined by the user.
|
When testing a numerical method for a PDE, I know that it's often useful to compare it to a known analytical solution. If none is available, one can always 'manufacture' a solution, substitute it into the PDE and obtain the source term, boundary conditions, and initial conditions needed for the problem.
But what gui... |
My program needs to perform pivoted QR decomposition on tall (e.g. 1e9 by 100) matrices. I run into the bottleneck that the major computational time of my program is spent on doing serial pivoted-QR decomposition, while the node has 20 threads. For some reason I am confined to one node to perform the decomposition, so ... |
I'm trying to solve the Poisson equation with pure Neumann boundary conditions,
$$
\nabla^2\phi = \rho \quad in \quad \Omega\\
\mathbf{\nabla}\phi \cdot \mathbf{n} = 0 \quad on \quad \partial \Omega
$$
using a Fourier transform method I found in Numerical Recipes. The method uses a discrete cosine transform, if you don... |
I know there are similar questions asked on other StackExchange sites, but I think development in Computational Science may work differently because of the computing environments that are common. I often can not run reasonable tests on my local machine due to time or memory constraints (or maybe I'm developing for inte... |
I have to write an algorithm/code to reconstruct an unknown 3D scalar potential $ V(\mathbf{r})$ up to a specified threshold $E_c$ (assume that the potential is monotonic)
The problem has the following rules:
You start from the minimum of the potential and define a grid
you can only do "small" steps, i.e. you can only... |
I am using Matlab to solve Ax=b and my A is very large, sparse, binary and also rectangular. I saw the Matlab backlash \ operator help and it states that if A is rectangular then it will use the QR solver to solve it. I was wondering if this is the right approach, because QR is not efficient for large sparse matrices. ... |
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 generating the particles as solid spheres with the radius of 1. How can I make the particles slowly move toward each other as d... |
I solved a simple test example by overlapping domain decomposition. The problem domain is a rectangular that is decomposed to two domains.
So the value on the intersection boundary is guessed at the first time and updated at each step.
Now I want to solve this problem by non-overlapping method. But when I use this pro... |
I'm looking to solve the Schrödinger equation with a basis made of a tensor product of basis splines. A number of papers describe calculations made with a program designed this way, but they never describe how they got the knot sequence they use to define the basis.
How does one go about choosing a knot sequence for a ... |
I have written some code that can do Kalman filtering (using a number of different Kalman-type filters [Information Filter et al.]) for Linear Gaussian State Space Analysis for an n-dimensional state vector.
Let us consider the linear Gaussian State Space model
$$y_t = \mathbf{Z}_{t}\alpha_{t} + \epsilon_{t},$$
$$\alp... |
Working in finite differences, I am using a transformation on the temperature variable
$\Theta = \int_{T0}^T \kappa(T)dT$
to linearize the steady-state heat equation into a Poisson equation
$-\nabla\cdot(\kappa\nabla T)=-S \rightarrow \nabla^2 \Theta= -S$
The Dirichlet and Neumann boundary conditions transform in a wa... |
I'm not sure if this question is appropriate for this site, so I appologize in advance if it's not.
For the purpose of a certain project I am working on, I would like to have the following sets plotted in 3D: $A = \{(x_1,x_2,x_3) \in \mathbb{R}^3 : x_1 \geq x_2, x_3 = 0\}$
$B = \{(x_1,x_2,x_3) \in \mathbb{R}^3 : x_1 = ... |
Let us say we have the following equations:
dy1/dt = f(y1, t) [1]
dy2/dt = g(y2, t) [2]
The equations are such that they are "conservative", i.e. the following condition should hold:
dy1/dt + dy2/dt = 0 [3]
Using scipy.odeint, I find that I can integrate conservative equations like this just fine for sim... |
I am interested in computing the solution of a lage system of ODEs using a krylov method as in [1]. Such method involve functions related to the exponential (the so-called $\varphi$-functions). It essentially consists of computing the action of the matrix function by constructing a Krylov subspace using Arnoldi iterati... |
How can I access a field in Paraview's programmable filter as a numpy array?
I want to:
Import an existing field as a numpy array
Create a similar array for output
Register it as a new field for visualization
I'm familiar with the wiki, but it doesn't address the issue.
Given this example:
elev0 = inputs[0].PointData... |
all.
I have data from a CFD simulation for a wing, and I need to obtain a visualization of the span-wise load distribution. I'm attempting to do this using Tecplot. I've tried using 'slices' and 'vectors', but got stuck. Any ideas on how to do this? Any input from engineers would be greatly appreciated.
|
I'm part of a Computational Science course and come from a non-programming background, so please forgive me my ignorance. I'm working on a set of code in C to numerically solve the Navier Stokes equations for a Computational Fluid Dynamics course. As a part of our task, I have to write code that runs on a single proces... |
I would appreciate help choosing a software for the Finite Elements Method (FEM).
I wish to model items like ropes, bull whips and fishing rods. (I intend to transfer the model into bio-mechanics, later.) E.g. I wish to study how the force/torque/movement applied to the handle of a fishing rod spreads to the end of the... |
How can I implement the computation of the diffusion coefficient $D$ using periodic boundary conditions (PBC)?
I use molecular dynamics of a set of $nboby$ particles with positions $pos(3,nbody)$ in a box of length $length$. The implemetion of the PBC is
do k = 1, 3
pos(k,i) = modulo(pos(k,i),length)
end do
At now... |
I'm doing molecular dynamics of $N$ bodies interacting through Lennard-Jones potential. I'm studying the hysteresis phenomena in the phase transition solid-liquid and liquid-solid. Which parameters can I use for determine the temperature at which the phase transition occurs? I'm using some parameters, as potential ener... |
Given a 3D unstructured grid consisting of mixed types of shapes (hex, tet, ...), is there a method to know how many faces (including boundary faces) are contained in the grid?
|
{Summary: I have a symbolic expression DCritnF expressed in terms of two variables x1 and x2. I need to find it's numeric value and I used combination of double and subs as given below.
FuncVal = double(subs(DCritnF,[x1,x2],[x(1),x(2)]));
Challenge is that since DCritnF is a very convoluted expression (generated by sy... |
I am looking at the Nvidia GT-860M which comes in both the old Kepler and new Maxwell architecture.
The old one (1152) seems to have almost twice the cores as the new one (640). The new one has a compute capability score of 5.0 compared to the old one of 3.0. Yet, the new cores are more powerful, according to:
https://... |
I'm trying to calculate the derivative of a function using FFT in Matlab. I've coded the following function to calculate it:
function dfdx = derivative(x,psi_0,n)
Nx = max(size(psi_0));
k = 2*pi/(range(x))*[0:Nx/2-1 0 -Nx/2+1:-1];
dfdx = ifft(((1i*k).^n).*fft(psi_0));
end
For higher derivatives (let's say for the... |
I'm using the SciPy sparse.csr_matrix format for a finite element code. In applying the essential boundary conditions, I'm setting the desired value in the right hand side vector, and setting the corresponding row and column to the identity (i.e. 1 on the diagonal and zeros elsewhere.)
The code I'm using is similar to:... |
I would like to ask how is the evaluation of integrals over inter-element interfaces implemented in a typical DG code. I can think of two basic approaches (I assume 2D mesh here):
1) Perform 1D interpolation of the interface data seen from 'left' and 'right' of each edge and numerically integrate. For this, I don't ne... |
I have a transient simulation for a case from 0 to 3 sec , actually i interest the solutions on time range from 2 to 3 sec , as my velocity and mesh size , my time step should be 0.0000000001 sec , my question is can I make my time step is 0.0001 sec for time range 0 to 1.9 and the i use 0.0000000001 for time range fro... |
I have a list ${\cal L}$ of symmetric matrices that I need to check for positive semi-definiteness (i.e their eigenvalues are non-negative.)
The comment above implies that one could do it by computing the respective eigenvalues and checking if they are non-negative (perhaps having to take care of rounding errors.)
Comp... |
I'm part of a Computational Science course and come from a non-programming background, so please forgive me my ignorance. I'm working on a set of code in C to numerically solve the Navier Stokes equations for a Computational Fluid Dynamics course. Anyway, as a part of our task, I have to write code that runs on a singl... |
I have numerically integrated the (reduced) homogeneous equation of a damped harmonic oscillator in order to see how the error propagates.
$$\frac{d^2 X}{d\phi^2} + \frac{1}{Q}\frac{dX}{d\phi}+X(\phi) = 0$$
where $\phi = 2 \pi \tau$ and $\tau$ is the reduced time
In the process I have also extracted the logarithm of th... |
I am developing some parallel CFD code using Fortran 90 and OpenMPI. The processes are structured into two groups such that half perform a certain type of calculations (let's say Velocity, Pressure and Temperature) while the other half performs a different type of calculations (let's say Turbulence modelling using K-om... |
Hi guys! I am working on a dynamics problem that I am not really sure how to solve it. Can anyone help me? The professor gave as a hint that we should compute the stiffness matrix of a linear element and then the stiffness matrix of a quadratic element.
THanks!
|
I have a coupled PDE problem(Poisson-Schrondinger system), i.e.
first I need to solve an eigenvalue problem (Schrodinger problem discretized by Galerkin method)
$$Ax=\lambda x, ~~~A=A(u)$$
the output $x$ is then used to compute some source term(charge) of a poisson equation(discretized on the same grid)
$$ Ku=b, ~~~b=b... |
I understand the crucial importance of freeing memory when certain variables or arrays need to be reused later in the program, or may not be in use for a while. However, in my experience with scientific computing a lot of the code written is meant to be run as a job and produce results, rather than the case of conventi... |
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 from the first system, as I know the maximum motion of any particle is X.
b) How to efficiently calculate the collision ... |
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 the energy cost of a transition between two states in the simulation.
A common optimization, is to check if $\Delta E > 0$, ... |
I want to solve the following system of nonlinear reaction-diffusion equations (Schnakenberg Turing) using FEM methods (such as deal.ii):
$$ \partial_{t} u = \Delta u + \gamma\left(a-u+u²v\right)$$
$$ \partial_{t} v = d\Delta v + \gamma\left(b-u²v\right)$$
where d, $\gamma$, a, b being constants.
Probably I need to fir... |
I'm trying to make my code more efficient so exploring alternatives and providing a simplified example here. Here are 3 different versions I thought of for defining an anonymous function in matlab.
% Version 1 definition in script
clc;
clear;
syms x1 x2;
b = 2;
c = 3.5;
ExampleFunc = @(x1,x2) x1^3 + b*x2 + c;
% ... |
I have spent quite some time trying to solve the following quadratic program:
$$\min \sum_{i=1}^n (\frac{1}{2}x_i^TQx_i+c_i^Tx_i), \quad \mathrm{s.t. } \quad x_i\ge 0 \quad \forall i,$$
where $n$ is very large and $Q$ is a sparse positive semi-definite matrix (given at the end of this post).
Although the sub-problem ... |
For Monte Carlo simulations, or any other numerical methods that rely heavily on the quality of the pseudo-random numbers generated (i.e even/desired distribution on a certain domain) for that matter, why aren't evenly-spaced and perfectly/accurately distributed numbers (not pseudo-random) used as opposed to pseudo-ran... |
I am looking for a nice reference (a review, tutorial, or maybe a book) that has tips and their explanations about general issues of floating-point arithmetic in scientific computations.
Some that I've seen are Numerical Recipes and Goldberg, D. E. (1991). What every computer scientist should know about floating-point ... |
I understand how to set up the boundary conditions for a steady state problem discretized by Galerkin method, for a time dependent PDE below,
$$\frac{\partial}{\partial t} u = c\nabla^2 u + a\nabla u + b,~~~ u_0= 1, u'_1=0$$
Supposing I have correctly set up the Dirichlet and Neumann conditions for the steady state pa... |
Are there any mature Python packages that can plot functions, and possibly use adaptive sampling?
I am looking to pass only a function (can be a numerical black box) and a range, and expect a plot as the output.
What I am not looking for: manually generating the sampling points, manually computing the function values, ... |
What are the most accurate algorithms for evaluating a polynomial using floating point arithmetic? The internet seems to suggest that Horner's method is commonly used. In particular I have a cubic polynomial of the form f(x) = a x^3 + b x^2 + c x + d, which I am evaluating in the naive way with floating point arithmeti... |
I have a bunch of readings that run every 4 hours, however each sensor has a different offset. One sensor might read at $t = 0,4,8,12,16,20$ and another senor reads at $t = 1,5,9,13,17,21$. This makes it difficult to compare the reading.
It would be nice to put them all on equal footing - "normalization". To do this... |
I'm looking at FEM discretizations of
$$u_i - \Delta u_i = f$$
for $u_1, u_2$ on subdomains $\Omega_1, \Omega_2$ with interface $\Gamma$. A Neumann-Neumann transmission condition can be formulated by solving for a flux $\lambda$ on $\Gamma$ such that $n\cdot \nabla u_1 = \lambda = -n\cdot \nabla u_2$. One "dual" varia... |
[I previously asked my question on StackOverflow but this site may be more appropriate]
In Matlab, I am currently using the MultiStart as an optimization algo in a parallel setup for a computer cluster. For example, this is my Matlab code:
opts = optimoptions(@fmincon,'Algorithm','sqp','Use Parallel','Always'); %The op... |
I am trying to compute the weight matrix for a set of straight ray paths through a reconstruction region.
Ideally, I would like to be able to do this for both a rectangular grid region, where each grid cell is a rectangular prism, and a geodetic grid region, where grid cell boundaries are specified in latitude, longitu... |
In most (all?) implementations of the Fast Multipole Method (FMM), octrees are used to decompose the relevant domain. Theoretically, octrees provide a simple volumetric bound, which is useful for proving the O(n) runtime of a FMM. Beyond this theoretical rationale, are there benefits to using an Octree over other tree ... |
I would like to implement custom, domain-specific algorithms for sparse matrix orderings. I am looking for Python packages for ordering sparse matrices. It would be nice to have:
The underlying datastructures handle sparsity (matrix sizes: $10^4-10^6$)
To be able to handle highly unsymmetric matrices. (Introducing art... |
I'm developing a tool that allows users to select a closed boundary (a polygon) on the triangle mesh and then from this boundary, generate a NURBS surface fitting the original mesh surface.
My idea is as following:
Generate a list of NURBS curves from the closed boundary (polygon)
Combine such curves together using... |
Let $u$ be the answer of a PDE.Is there any relationship between $u,\frac{\partial u} {\partial n}$ and $\Delta u$.
I have the values of $u$ and $\frac{\partial u} {\partial n}$ on $\partial \Omega$ but I need the value of $\Delta u$ on the boundary.
I think it's impossible, but is there anyone who know how to do this... |
Has anyone here had any success (or at least tried) compiling the HSL_ME57 (or similar such as MA57, etc.) matrix factorization libraries? Do any C wrappers exist for the Fortran function calls? I'm not having much luck compiling the library using GCC 4.9 (latest version). Here are the errors I am getting:
gfortran -g... |
I do have a Diffusion coefficient in a convection diffusion PDE which is discontinuous and looks like (concentration on the x-Axis):
For numerical reasons i use the integrated form:
I calculate the functions in beforehand and during my calculations i interpolate the diffusion coefficient depending on the actual conce... |
Is there a good introduction into wavelet Galerkin schemes for numerical partial (and ordinary) differential equations?
|
I would like to perform a surface integration over a portion $D$ of an ellipsoid. A plane arbitrarily intersects the ellipsoid forming two sections, of which one is $D$. I do not know how I can discretize $D$ in order to perform the numerical integration.
Attempt at a Solution
I parameterize the ellipsoid in spherical... |
I have a working knowledge of calculus and have been able to understand the application of Newton-Raphson technique for unconstrained optimization. Please point me to some of the easy to understand tutorials for advanced techniques like BFGS and LBFGS. I prefer video lectures to books and books to papers.
My aim is to ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.