TransWikia.com
  1. All Categories
  2. Computational Science

Computational Science : Recent Questions and Answers (Page 16)

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

Writing code on the CPU while developing, running it on the GPU when live - which approach?

In my simulations I am using dense matrix-vector multiplications and 2D-fft transformations quite often, for matrix sizes of 8kx8k and up. Hence, I assume that using a GPU is beneficial...

Asked on 07/10/2021

2 answer

How to compute gradient of a cell having a boundary face?

In many situations in unstructured mesh solvers, one needs to compute gradient of arbitrary variable $phi$ such as temperature or velocity at face centers (one of such situations is...

Asked on 07/10/2021

1 answer

Boundary conditions for an FEM approximation of the Laplace operator

Using FEM, I want to approximate the Laplacian $$u = nabla cdot nabla h , ,$$ where $h(x,y)$ is an FEM approximated scalar field on the same mesh,...

Asked on 07/09/2021 by pimpom

0 answer

How can I color my Mandelbrot set like this?

I have a background image of a fractal on my phone that I would like in a higher resolution with super sampling, and decided to write my own program for...

Asked on 07/08/2021

1 answer

Where could error terms that blow up in SWE come from?

I have been working on a solver for shallow water equations with reflective boundary conditions. I have found that it diverges very fast. As a workaround I noticed yesterday that...

Asked on 07/07/2021

1 answer

How can I plot piece-wise defined function in some easily-accessed open-source tool?

I want to plot $$f_{n}(x) = begin{cases} x-n & text{for } n leq x leq n+1 ...

Asked on 07/06/2021 by user664

6 answer

Python scipy NLLS optimization : Parameter estimate hugely off, but the visualisation looks fine

I don't have almost any experience in data modelling so I would really appreciate any input!I have to fit some models to my data - below you see the...

Asked on 06/30/2021 by Isquare1

0 answer

Rule of thumb for sparse vs dense matrix storage

Suppose I know the expected sparsity of a matrix (i.e. the number of non-zeros / total possible number of non-zeros). Is there a rule of thumb (perhaps approximate) for deciding...

Asked on 06/30/2021 by josh_eime

3 answer

nquad Integration in SciPy

I am trying to self-learn SciPy and evaluate the following quadruple integral using scipy.integrate.nquad: $$int_{0}^{1} int_{0}^{1} int_{0}^{1} int_{0}^{1-x} (w+y) :dz :dy :dx :dw $$ I wrote...

Asked on 06/28/2021

1 answer

How to create a good preconditioner for a system of linear equations that is created with FEM applied on the time harming Maxwell eqution?

I set out to solve the time harmonic Maxwell equation numerically which was discritzed using FEM and with the use of Nedelec elements as basis and test functions. The equation...

Asked on 06/28/2021 by CuteCompute

2 answer

Ask a Question

Get help from others!

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