instruction stringlengths 43 28.1k |
|---|
I am new to the field of CFD. When should one go for structured grid and when should one go for unstructured?
(Yes, it depends a lot on the geometry of the problem)
More specifically, I want to know the difference in the computational power required, accuracy achieved and efforts involved in both types of grid.
What ar... |
I have solved 1d shock tube problem. (Euler's equations). Using following steps:
1) Define Riemann problem over the domain
2) Carry out local linearisation
3) Based on linearisation, write eigen values and eigenvectors
4) Use upwinding, i.e. find out numerical flux and use update equation
When I implemented above s... |
I am implementing a machine learning algorithm for which I need to solve an integer linear program. To get the solution in polynomial time, the authors of the algorithm have dropped the integral constraints and instead solve the corresponding linear program.
I am not too aware of the theory of optimization, so using th... |
I asked for clarification about a recent question about minpack, and got the following comment:
Any system of equations is equivalent to an optimization problem, which is why Newton-based methods in optimization look a lot like Newton-based methods for solving systems of nonlinear equations.
What confuses me about th... |
I am studying $SU(2)$ lattice field theory, and I am attempting to use migdal recursion for renormalization.
The main equation for Migdal recursion for my case is
$$e^{-S_p(U,\lambda a)}=\left[ \sum_r F_r(a)^{\lambda^2}d_r \chi_r (U) \right]^{\lambda^{d-2}}$$
with $d_r$ as the dimension of the representation and $\chi... |
Pretty much the question. Given a general sparse, non-symmetric (both numerically and structurally) matrix, how important is the sparsity pattern (i.e. row/column permutation of matrix/vector) for iterative solvers? I can see it becomes important for direct solvers (LU) or preconditioners (ILU) by directly affecting th... |
The library itself compiles just fine with icc, but when I try to link to it (using icc for both the driver code and the linker), I get the same error that this question on stackoverflow is asking about.
I've heard that gsl is very specific to the gnu compiler. Can gsl be compiled and linked to with icc? What about oth... |
Are there any algorithms for community detection for bipartite graphs (2-mode networks) implemented in igraph, networkX, R or Python etc.? In particular, is there such an implementation in which one would be able to restrict the detection of communities just on one of the two modes?
|
I am faced with the problem of finding the ellipsoid $B$ ($B$ is a symmetric positive definite matrix) of maximal volume within a convex set $C$ given as a set of linear inequalities $C=\{x| a_i^T x \leq b_i, i=1,\dots,m\}$.
I understood how it is formalized as a convex optimization problem
$$
\min_{B,d}\quad[\log\det... |
Edit: I was advised to replace the question with a more specific one.
Coming from a very theoretical background, I'm pretty ignorant about what practical matrix solvers exist. (I have been, and will continue to scour the web for information, but I figured I would get direct and concise answers here as well.)
Currently... |
At the moment I am working on a differential equation solving method called basis-spline collocation. What I am having trouble with is building a method to build an arbitrary order spline, with the relationship
$$
B^{k+1}_{i}(x)= \frac{x-x_i}{x_{k+i}-x_i}B^k_i + \frac{x_{k+i+1}-x}{x_{k+i+1}-x_{i+1}}B^k_{i+1}(x)
$$
wi... |
Single precision floating point numbers take up half the memory and on modern machines (even on GPUs it seems) operations can be done with them at almost twice the speed compared to double precision. Many FDTD codes that I have found exclusively use single precision arithmetic and storage. Is there a rule of thumb of w... |
I am interested in setting up calculations to check if a distance criterion is satisfied: that is, the distance between a vector ${\bf x}_i$ and anther vector ${\bf x}_j$ should be less than some value $r_{\rm max}$. My data is partitioned according to an orthogonal grid of coordinates. Since my cutoff is smaller than ... |
Related question: State of the Mac OS in Scientific Computing and HPC
A significant number of software packages in computational science are written in Fortran, and Fortran isn't going away. A Fortran compiler is also required to build other software packages (one notable example being SciPy).
However, Mac OS X does no... |
I am fitting a curve to some instrument data. The data is a pulse with a particular functional form, which starts from and returns to a constant (with noise) baseline level before and after the pulse.
I find that if I fit the whole dataset, I get one set of fitted parameters for the pulse, but if I crop out the part of... |
A very basic question but i couldn't find another post about it:
Given $p$ non parallel hyper-plane in $\mathbb{R}^p$:
$\left(\begin{array}{cccc}
c_{11} & a_{11} & .... & a_{1p} \\
... & ... & ... & .... \\
c_{p1} & a_{p1} & .... & a_{pp} \end{array} \right)$
$||a_{i.}||=1$
What is the best (from a numerical standpoi... |
Why does DMDA objects require so much memory on PETSc 3.2-p7.
When running the code:
...
N = 8000;
ierr = DMDACreate2d(PETSC_COMM_WORLD, DMDA_BOUNDARY_PERIODIC, DMDA_BOUNDARY_PERIODIC,
DMDA_STENCIL_STAR, N, N, size, PETSC_DECIDE, PETSC_DECIDE,
0, PETSC_NULL, PETSC_NULL, &da);
//ierr =... |
I want to develop a parallel scientific computation software from scratch. I want some thoughts on which language to start. The program involves reading/writing data to txt files and doing heavy computations in parallel, with many LU factorizations and the use of sparse linear solvers. The candidate solutions I was thi... |
If we want to solve nonlinear minimization problem
$$\min_{x} f(x),$$
making least-squares assumption and using Gauss-Newton method so that at k$th$ iteration we have:
$$J_k^T J_k p_k = - J_k^T r_k,$$
with vector $r$ being residual and matrix $J$ Jacobian.
We then update $x$ in the following way:
$$x_{k+1} = x_k + \al... |
Background: I think I might want to port some code that calculates matrix exponential-vector products using a Krylov subspace method from MATLAB to Python. (Specifically, Jitse Niesen's expmvp function, which uses an algorithm described in this paper.) However, I know that unless I make heavy use of functions from modu... |
I am looking at the finite difference methods to solve simple $u_t=a(x,t)u_{xx}$.
There are explicit, implicit, Crank Nicolson.
The latter is said to be more accurate since the local truncation error is of second order provided all expansions are done around point $t^{n+0.5}$. However, local truncation error basicall... |
Possible Duplicate:
Is there a general-purpose library for structured grid adaptive mesh refinement?
I'm looking for a quality, open source, maintained, scalable automated mesh refinement library to integrate with a FEM library. It would be best if it could do both simplices and quads/hexes. I have a list of abou... |
I would like to predict runtimes for dense linear algebra operations on a specific architecture using a specific library. I would like to learn a model that approximates the function
$F_{op} \;::\; $input sizes$ \rightarrow $runtime
for operations like matrix-multiply, element-wise add, triangular solve, etc....
I susp... |
In a finite difference (FD) based electromagnetic formulation based on a Yee cell grid, one can define electric current source excitations ($J$) on the $E$ field grid points. At a distance, the fields generated from these excitations (in free-space) closely match with those of an analytical Hertzian dipole (which is in... |
I am looking for a description of algorithm which allows me to detect key turning points on the road amongs a set of all given points.
I've ilustrated my problem on the below image:
Green spots: those are the starting and ending point of a route.
Blue spots: those are the key points which should be detected by the alg... |
I have formulated an integer linear program (ILP). The constraint matrix for the ILP is totally unimodular.
Should I solve it as an LP without the integral constraints, or should I keep the integral constraints and let the optimization-toolbox's (MOSEK) mixed integer solver handle this special case?
|
Given a dense matrix $$A \in R^{m \times n}, m >> n; max(m) \approx 100000 $$ what is the best way to find its null-space basis within some tolerance $\epsilon$?
Based on that basis can I then say that certain cols are linearly dependent within $\epsilon$? In other words, having null space basis computed, what columns... |
This question is aimed at cleaning up an implementation detail of an in-house sparse direct solver. It uses METIS to reorder $A$ into $PAP^{T}$ for reduced fill-in. Inside the $Lx=b$ and $L^{T}x=b$ backsolution routines, the solver needs to apply the same permutation matrix to $b$ upon entry, then undo the permutation ... |
I'm having some troubles implementing a collocation method to solve a stochastic partial differential equation of the form:
$\nabla (a(x,w)\nabla u(x,w))=f(x,w)$ in $D$,
$u=g$ in $\partial D$
where $w$ is a vector of uniformly distributed random variables and a(x,w) is a randomly distributed coefficient.
I have read a ... |
As exemplified by Jed Brown's answer to Costs of lookups versus calculations, using vectorized vs non-vectorized floating point operations results in much faster code. Many modern compilers claim that they can perform automatic vectorization. How do I which parts of my code are being successfully vectorized?
|
I have a mesh produced from scanning a real 3D object (I don't have a geometry). What is the most convenient way to specify inlets, outlets, etc. for CFD in OpenFOAM? The mesh consists of thousands of faces, so defining each of them manually is not feasible.
Further information if that helps:
The scanner produced a VR... |
In one of my papers, I list some numerical results in addition to some figures. What I'd like to do is make sure that the numerical results in my paper always agree with the code. Right now, I just directly copy the numerical results from my simulation output into the paper, which is extremely simple and low-tech, but ... |
Somewhat related, but I think the question is distinct enough to justify a separate question.
As a bit of background, I come from a observational/statistical Epidemiology background, working with data that's been collected already, so even our large datasets tend to be in discrete, inseparable chunks. As such, I've nev... |
I need to calculate the following integral:
$$
{1\over 2\pi i} \int_C f(E) \, d E
$$
$$
f(E) = {\rm Tr}\,\left(({\bf h} + E)\,{\bf G}(E) \right)
$$
Where $\bf h$ is a matrix (one particle kinetic and potential energy expressed in a basis), $\bf G$ is a matrix which depends on $E$ (one-particle many-body Green's functio... |
I am new to linear programming and have formulated a linear program (LP) with order of $10^{13}$ variables and $10^{13}$ constraints, although the constraint matrix is extremely sparse.
I wanted to know if an LP of this scale is tractable or not?
|
I generated a cartesian grid in Python using NumPy's linspace and meshgrid, and I obtained some data over this 2D grid from an unknown function. I want to get an approximation of the value of the function over some points inside the boundaries of the grid which are not part of it. I do not have some other unstructured ... |
Is there any type of function that when graphed would show a curve which intersects the x axis multiple times, with each point being an arbitrary distance from the last?
I mean, not like a trig function where each intersect is the same distance from the last. (2,0); (4,0); (6,0); (8,0).
And not like a spiral where the... |
I am relatively new to integral equations for solving time-harmonic EM scattering problems. I have read a decent number of papers on the subject, and it seems that for formulations that can support 3D closed-volume dielectric scatterers that people use EFIE (Electric-Field Integral Equations), MFIE (Magnetic Field Inte... |
I have a large number of systems of the form:
$Ax=b_i$
To solve for a large numbers of such $b_i\;1\leq i \leq k$
but where $A$ is fixed (A is a rank $p$ general
--i.e. non sparse, non PSD-- matrix).
I can solve them individually using an LU decomposition
(costs $O(p^3)$) but was wondering whether there is a
more... |
I want to solve a relatively small system of stiff ODEs (< 10 first-order equations) using high precision floating point arithmetic (using MPFR or alike). What would be the easiest algorithm to implement/port? I'm not only interested in the "stepper" algorithm, but in the combination of stepper/error estimation/step si... |
I need to compute the Matrix Permanents of several $64 \times 64$, zero-one matrices. I have tried using the built in functions in both Sage and Maple, but both programs return out of memory errors. I have also tried several MatLab implementations, but they tend to run very slowly, on the order of days or weeks.
I am ... |
I'm trying to install a Python package that relies on extensions built from Fortran 90 using f2py, but I get the following error:
error: f90 not supported by GnuFCompiler needed for source_file.f90
I have both gfortran and g77 installed, what is going wrong?
|
I've got a program that computes the largest eigenvalue of many real symmetric 50x50 matrices by performing singular-value decompositions on all of them. The SVD is a bottleneck in the program.
Are there algorithms that are much faster in finding the largest eigenvalue, or would optimizing this part not give much retur... |
I need to compute the determinant of a matrix that is calculated as $B \circ A$, with $B$ and $A$ being square matrices and $\circ$ representing their Hadamard product.
One way of doing this is through the eigenvalues of $B \circ A$, since a determinant is equal to the product of eigenvalues. This calculation is part o... |
I want to compute the spectrum (all the eigenvalues) of a large sparse matrix (hundreds of thousands of rows). This is hard.
I am willing to settle for an approximation. Are there approximation methods to do this?
While I hope for a general answer to this question I would also be satisfied with an answer in the followi... |
Suppose I have some function $f$ and I want to find $x$ such that $f(x)\approx 0$. I might use the Newton-Raphson method. But this requires that I know the derivative function $f'(x)$. An analytic expression for $f$ may be unavailable. For example, $f$ may be defined by a complicated piece of computer code that consul... |
I am interested in local AMR on unstructured meshes. Currently, I'm working with the OpenFOAM library - it supports completely unstructured local AMR:
cell refinement criteria determine a list of cells that are cut
selected cells are refined: entire mesh is re-constructed
a map is created from the old mesh to a new ... |
What are typical (or promising) techniques and methods in CFD to achieve high-detailed turbulence and non-linear waves interaction? And with "active" geometry (when bodies interacts with fluid in both ways)?
Currently I've been recommended SPH, but I am very unsure, that SPH is smart choice for my task. Especially cons... |
TL,DR
What is the accepted best practice in scientific computing circles for storing large quantities of hierarchically structured data? For example, SQL does not play nicely with large sparse matrices. Is there a good tool out there for structuring, warehousing, and analyzing this kind of data? What do the guys at the... |
What is the quickest way to find a point inside a linear feasible space? (Defined by the intersection of several hyperplanes and halfspaces). I want to be able to choose an initial point in the original convex space, discover a certain neighborhood around it (not convex but can be written as the union of some convex s... |
Consider a node $s$. Let's assume that there are three outgoing arcs from node $s$ namely $(s,i)$,$(s,j)$ and $(s,k)$. Corresponding to each of these arcs, there is a flow proportion value $t_{sj}\in (0,1]$. It means that the amount of flow along the arc $(s,j)$ should be $t_{sj} *f_{ps}$ in which $f_{ps}$ is flow over... |
A linear program (LP)
\begin{alignat}{1}
& \min_{x} {c}^{T}x, \\
\mathrm{s.t.} & \quad Ax = b, \\
& x \geq 0.
\end{alignat}
is called combinatorial if the size of entries of matrix $A \in \mathbb{R}^{m \times n}$ is bounded by a polynomial of dimension of the LP. (See Eva Tardós, "A strongly polynomial algorithm to sol... |
Answer gives a software for calculating conditional Lyapunov exponent (CLE) for coupled oscillators in chaos synchronization. However, it is hard to follow and there is no graphical output of the plot (and it is in C, more complex). Does anyone know how to modify the LET Toolbox which is very good for uncoupled system... |
I am seeking applications in the industry for the Moore-Penrose generalized inverse $A^\dagger$ of a matrix $A$.
The Moore-Penrose Inverse of $A\in \mathbb{C}^{m\times n}$, denoted
by $A^\dagger$, is the unique matrix $X$ satisfying the following four
Penrose equations.
\begin{eqnarray}
(i)~ AXA = A,~ (ii)~ XAX = ... |
I have a linear programming problem. I want to know if this LP is feasible. What is the best known algorithm for checking feasibility of an LP or a linear system of equations?
|
I have a system of linear equations in form of $AX=b$ where $A_{m\times n}$, $X_{n\times 1}$ and $b_{m\times 1}$. Coefficient matrix $A$ is quite sparse. However, using a practical LP solver like LINGO it is clear that after permutation of rows, it turns out to be like a lower triangular matrix. I do not know what the ... |
I have a problem where I need to diagonalize a large number of small Hermitian matrices. Typically the matrices are between 4 and 64 in size (skewed towards the low end) and the number of matrices is on the order of millions. This is then repeated many times, so I have been trying to figure out the best way to go about... |
I have a a system of bivariate polynomials as follows:
$ E(u,v): e_2(u) v^2 + e_1(u) v + e_0(v) = 0 \\
F(u,v): f_2(u) v^2 + f_1(u) v + f_0(v) = 0$
where $e_n(u) = e_{n_2}u^2 + e_{n_1} u + e_{n_0}$ and similarly $f_n(u) = f_{n_2}u^2 + f_{n_1} u + f_{n_0}$
Thus far, I have solved via a Sylvester Matrix:
Let the Sylves... |
Suppose I have a 2D mesh consisting of nonoverlapping triangles $\{T_k\}_{k=1}^N$, and a set of points $\{p_i\}_{i=1}^M \subset \cup_{k=1}^N T_K$. What is the best way to determine which triangle each of the points lies in?
For example, in the following image we have $p_1 \in T_2$, $p_2 \in T_4$, $p_3 \in T_2$, so I w... |
The following matrix equation
$$B\Sigma + \Sigma B^T + C = 0$$
in $\Sigma$ $-$ for given $B$ and $C$ matrices $-$ appears in my work as a characterization of a covariance matrix. I have learned that this equation is known, in particularly in continuous time control theory, as Lyapunov's equation, and that there are va... |
Possible Duplicate:
Get equation for a curve which intersects x at seemingly randomly distributed points?
I tried asking something similar to this before, but I guess I didn't explain very well. Hopefully this will be more clear.
I need to get an equation which describes a curve with certain points.
For example, I h... |
I have a function $f(x,y,z)$ such that
$\int_{R^3} f(x,y,z)dV$
is finite, and I want to approximate this integral.
I'm familiar with quadrature rules and monte carlo approximations of integrals, but I see some difficulties implementing them with in an infinite domain. In the monte carlo case, how does one go about s... |
I would like to know a good method for interpolating data between two unstructured grids, where one grid is a coarser version of the other.
Efficiency is very important to me since I'm solving a transient PDE problem where I need to transfer data between the grids at every time step of the solution.
I thought about usi... |
Where can I find a library to solve a sparse complex matrix equation iteratively in C.
So far I've only found libraries for direct solution to complex systems, and libraries for iterative solutions to real systems, but no solvers for iterative solutions to complex systems
|
When the absolute pressure becomes negative or $U$ exceeds the speed of light, things have pretty obviously gone wrong (be that bad boundary conditions, a too coarse mesh, a too large timestep etc.).
So, is there any way to have a simulation abort with an error message when values exceed definable non-physical ranges?
|
This complements an earlier question on usable, fast C++ matrix libraries.
I've looked at the Java Matrix Benchmark, and it seems like the performance of java matrix libraries is all over the place. The Apache Commons Math library seems like a simple solution, but I'm curious for others recommendations.
Specifically,... |
I need to compute the helicity modulus as a function of temperature for a three-dimensional X-Y model (see N.K. Kultanov, Yu.E. Lozovik, "The critical behavior of the 3D X-Y model and its relation with fractal properties of the vortex excitations"). I am resorting to using a Monte Carlo simulation because I cannot find... |
In the numerical solution of initial boundary value PDEs, it is very common to employ parallelism in space. It is much less common to employ some form of parallelism in the time discretization, and that parallelism is usually much more limited. I'm aware of an increasing number of codes and published works demonstrat... |
I am reading the following file, that explain the Nelder-Mead optimization Algorithm.(Algorithm Below) Where $B$ is the best point, $G$ second best point, $W$ is the worst point, $R$ reflection point. Why in Case(i) $W$ is replaced by $R$ ?
Assuming that $f(R)<f(G)$ than we go in $Case(i)$. If $f(B) < f(R)$ is true, th... |
How can I solve the following Linear Programming problem in the easiest way?
How can the summation terms be modeled in there?
From page 187 of Mathematical Programming Approaches by Charu Chandra and Janis Grabis.
|
I would like to do evolving factor analysis using the SVD:
Given $m \times n$ data matrix $\mathcal{A}$, and for each $i$ from 1 to $m$, I want to calculate the singular values of:
$$\mathcal{A}\left[1:i,\ 1:n\right]$$
This would be much faster if there was a way to update the computed SVD after adding a row to $\mathc... |
Let $B$ and $I$ denote finite sets, let
$$ E: I \times B \to \mathbb{R}_{> 0} $$
be a function, and let $s_b \in \mathbb{N}$ for $b \in B$ be given.
Find $x_{i, b} \in \{ 0, 1 \}$, for $b \in B$ and $i \in I$ maximizing
$$ \sum_{i \in I} \sum_{b \in B} E(i, b) $$
subject to the constraints:
$$ \sum_{i \in I} x_{i, b}... |
Can similarity criterion help reducing calculations in Finite Element Analysis (FEA) problems?
I'm using NX (a thermal and CFD simulation software) to simulate the temperature and fluid field of a LED application.
It takes a long time each time i change something.
I'm wondering if I can reduce the calculations by scali... |
While simulating motion of nonlinear inelastic wire one meets the following equations
\begin{align}
&{\partial^2\varphi\over\partial t^2}=2{\partial F\over\partial s}{\partial\varphi\over\partial s}+F{\partial^2\varphi\over\partial s^2} \\
&{\partial^2F\over\partial s^2}+\left({\partial\varphi\over\partial t}\right)^... |
The tutorial case incompressible/pimpleDyMFoam/movingCone describes a cone moving through a "tube" (if you change the far-field patch into a wall) of constant diameter. This is the most related tutorial case I can think of, since what I want to simulate is the same geometry but with a jump in diameter. If any of the fo... |
I am about to start research for my thesis. I am trying to find public datasets of images mostly dominated by contour meaning (An outline, esp. one representing or bounding the shape or form of something.)
Can anyone suggest any? Or give directions please?
|
I need to solve
\begin{alignat}{1}
& \min_{x}\|Ax - b\|^2_{2}, \\
\mathrm{s.t.} & \quad\sum_{i}x_{i} = 1, \\
& \quad x_{i} \geq 0, \quad \forall{i}.
\end{alignat}
I think it is a quadratic problem which should be solvable with CVXOPT, but I can't work out how.
|
I am trying to solving a poisson equation in structured grid with Geometric Multigrid method. However, when coarsening the fine grid, I simply double the grid spacing at each successive level. That means that the number of points on the finest grid must be a power of 2. This is an undesirable constraint when doing s... |
I have a matrix which is complex symmetric. It is around 50,000 elements per side. It is a Method of Moments matrix. Is it feasible to use a standard direct solver such as Lapack to do a matrix decomposition such as $LU$ or $LDL^T$. I need to solve approximately 7200 right hand side vectors with this matrix, so if I we... |
I am trying to solve the following differential equations on matlab. (They are the equations obtained from the yang-mills-higgs lagrangian for the hoofy polyakov monopole ansatz). This is my function file. I have two variables h and k and their derivatives w.r.t to a variable t. My x(1)=h, x(2)=k, x(3)=dh\dt, x(4)=dk\d... |
On several places I found different claims on a sufficient number of distances to recover relative positions of $n$ points in $d$-dimensional space.
For instance, work from
http://www.dimitris-agrafiotis.com/Papers/jcc20078.pdf
(page 5, right column) claims that only $\left(\frac{n-d/2-1}{d+1}\right)$ distances are suf... |
I have an energy functional that I want to optimize using the calculus of variations. Is there any software package that will do this automatically?
As far as I can tell, Maple and Mathematic have some relevant functionality, and they can generate C code as well. However, I could not find a working example. Are there a... |
I know using topoSet and subsetMesh along the lines of the mesh/moveDynamicMesh/simpleHarmonicMotion tutorial, one can cut holes into a mesh and obtain new patches. How can something similar be achieved with a vanishing hole, i.e. can a set of internal faces be turned into two touching patches with opposite orientation... |
I have a method that is supposed to be second order accurate based on asymptotic analysis/Taylor series expansion which assumes that the solution is smooth. I am solving a PDE which has very rough coefficients (one of them is a step function) and thus the solution of the PDE is not smooth, though it does exist and is u... |
I have experience in coding OpenMP for Shared Memory machines (in both C and FORTRAN) to carry out simple tasks like matrix addition, multiplication etc. (Just to see how it competes with LAPACK). I know OpenMP enough to carry out simple tasks without the need to look at documentation.
Recently, I shifted to Python for... |
I would like to do the analysis for the Crank-Nicolson method on a non-uniform grid for the parabolic equation with variable coefficients. I was able to prove everything for a uniform grid by energy methods for the results of stability, where I have used summation by parts to do estimates. Now that I turn to a non-unif... |
I am looking at the pde of the type $u_t=\mathcal{L}u$ for some elliptic operator $\mathcal{L}$ and on some domain $D$. Assume I am solving that with a finite difference method and want to estimate the error. Thus, I create a mesh over $D$ and compute the error in discrete $L^2$ norm, that is at every point on the grid... |
When I read books on finite differences they often end up using discrete $L^2$ norm for estimating the error as it naturally arises from weak formulation. I was wondering if people do that in Sobolev norm and when it is useful. I have not seen any at least in finite-differences book.
To be more specific look at the $$A... |
I am solving the following equation $u_t=x^2u_{xx}+\frac{x-y}{T-t}u_y$ with an initial data $u_0=max(y-C,0)$ for some $C$ in the domain of the numerical method. In time I am solving that on $[0,T]$. Before I implement a numerical method I have to make sure the solution exist and unique. Assume it is done and the next q... |
I'm looking into integrals of the form:
$$\int_a^b {f(x)g(x)dx}$$
Where $f(x)$ is unknown, but it's integral is:
$$\int_a^b {f(x)dx}=F$$
It's been suggested to me that one could approximate this integral by:
$$\int_a^b {f(x)g(x)dx}\sim F \cdot\overline{g(x)}=\frac{F}{b-a}\int_a^b {g(x)dx}$$
This of course being just a ... |
I am trying to diagonalize some dense, ill-conditioned matrices. In machine precision, results are inaccurate (returning negative eigenvalues, eigenvectors do not have the expected symmetries). I switched over to Mathematica's Eigensystem[] function to take advantage of arbitrary precision, but computations are extreme... |
I have two points $x_1, x_2$ between which I would like to have a linear interpolation $P_1$. Those two points are just points where I know the value of the underlying function $f$. I know that the error at any point between the two will be bounded by the second derivative of the function $\sup_{x\in[x_1,x_2]}f^{''}(x)... |
Generally speaking, I've heard numerical analysts utter the opinion that
"Of course, mathematically speaking, time is just another dimension, but still, time is special"
How to justify this? In what sense is time special for computational science?
Moreover, why do we so often prefer to use finite differences, (lea... |
I have a low speed flow with a high voltage discharge occurring within it between two spherical electrodes. We have quite a bit of data from the experiment and have performed 0-D modeling of the chemical kinetics within the plasma discharge, however our next step is to expand the modeling with 1 or 2 spacial dimension... |
My friend was working on this, and he asked me about the stability of PML while applying on pseudo-spectral method, I believe his concern was how to choose the difference(if the difference should be chosen with a directional preference, forward/backward, or inflow/outflow) such that the numerical solution is stable ove... |
What is the best software for solving and simulating the 3D Navier-Stokes equation for incompressible laminar non-Newtonian fluid flow?
|
I currently searching for a subroutine from BLAS or LAPACK which realizes the following operation
A = alpha*A + beta * B
where A and B have different leading dimensions, i.e. A is stored as
REAL*8 A(N,N)
and B is stored as
REAL*B B(LDB,N)
with LDB > N.
Is there a way to use existing BLAS or LAPACK operation to c... |
I would like to solve for the electric potential and magnetic vector potential using the finite volume method (collocated grid). My equations are:
$\nabla\cdot(\sigma\nabla\phi)=0$
$\nabla \cdot \nabla A = \mu_m \sigma \nabla\phi$
The domain is a wedge, with the following boundary conditions:
A fixed gradient for the ... |
I have a question regarding stability analysis for constant coefficient pde. Suppose I am looking at the pde $$u_t= au_{xx}$$ So the first approach is to compute the amplification factor, and this is so-called Fourier approach. Call it $Q(\zeta)$ and for explicit method plugging the test function $e^{ijhw}$ I have for ... |
Given SPD matrix $$A \in \mathbb{R}^{N \times N} $$ and positive diagonal matrix $$D \in \mathbb{R}^{N\times N}.$$ What is then spectrum of the product $$D^TAD.$$ Is there a closed-form relationship between spectra of $A, D$ and that of the product? Or at least can we find bounds of it?
E.g., one can see that if $D = \... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.