TransWikia.com
  1. All Categories
  2. Computational Science

Computational Science : Recent Questions and Answers (Page 30)

Find answers to your questions about Computational Science or help others by answering their Computational Science questions.

Region of interest in Paraview

I am struggling with this: In a render view in Paraview, is it possible to draw a square or rectangle around the region of interest and have this as a...

Asked on 02/08/2021 by stephanmg

1 answer

When is it easy to invert a sparse matrix?

(Crossposted on cstheory.SE) When is it easy to invert a sparse matrix? Specifically, I'm wondering about the cases in which matrix inversion has similar cost to sparse matrix multiplication,...

Asked on 02/07/2021

2 answer

How to compute the $L^{2}$ error of the gradient in the Finite Element Method

Let $Omegasubset mathbb{R}^{2}$ and $tau_{h} = {Omega_{k}}_{k=1}^{N}$ be a triangulation of $Omega$. The $L^2$ error for a FEM approximation $u_{h}$ is given by: $...

Asked on 02/07/2021 by tnt235711

1 answer

Verification of order of convergence of Implicit Euler Method to numerically solve Black-Scholes PDE

I'm trying to verify the order of convergence for implicit Euler method to numerically solve Black-Scholes PDE. Theory says that it should be $O(Delta t + Delta S^2).$ My...

Asked on 02/06/2021 by Rhombus

1 answer

In Eigen, can a sparse matrix contain vectors/objects instead of simple scalar values?

I need to have a sparse matrix whose elements are not simple numbers, but objects, e.g. a couple of floating point values and a bunch of integer indices. I am...

Asked on 02/04/2021

1 answer

Hi I am trying to model a 2D Lug angle using Gmsh 4.6. How can I combine transfinite quad and regular full quad meshes in the following geo file?

I need transfinite mesh a small section of the bolt hole to insert a crack. However, The transfinite mesh and regular full quad mesh seem being incompatible and throwing errors....

Asked on 02/04/2021 by CrimeFighterCE

0 answer

How to get ODE solution at specified time points?

The code below basically illustrates my problem. It is a test code for a pendulum. I solve it using a method suggested on https://stackoverflow.com/questions/12926393/using-adaptive-step-sizes-with-scipy-integrate-ode). Now I want to plot...

Asked on 02/03/2021 by Dipole

3 answer

Simplest way to "upgrade" from Euler equations to Navier-Stokes equations in FV or FD framework

I have quite a lot of experience solving unsteady Euler equations, including multi-component ones, with in house-coded finite-difference and finite-volume methods, including MacCormack and MUSCLE schemes and WENO flux reconstruction....

Asked on 02/03/2021

2 answer

Balanced constraint

In several optimization problems, we found what we called the balanced constraint(c^T • x = z )For exp: C^T • 1 = 0 (C is a binary Matrix)Can I...

Asked on 02/01/2021 by user36820

0 answer

Kronecker-factored least-squares?

Suppose $a_i,b_i$ are $dtimes 1$ matrices, $y_i$ is scalar, and I need to find least-squares solution $w$ of the following system of $n$ equations: ...

Asked on 01/31/2021

0 answer

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP