# All Questions

8,917 questions
Filter by
Sorted by
Tagged with
84 views

### Visualization of Quad/Octree data Structures

I have a simple C++ quadtree implementation. The implementation subdivides node into four children as if there is more than one point in that particular node. At the moment I want to visualize how ...
17 views

### How can I convert OpenFOAM postProcessing directory to HDF5?

Are there existing tools or practices for converting OpenFOAM run-time post-processing directory, postProcessing, into a single HDF5 file or HDF5 groups? The ...
176 views

### Can Julia be used to create a large-scale CFD software like OpenFOAM?

I have some experience with some programming languages like C/C++, Fortran, Python, etc but recently, I am getting interested in Julia. But, I am wondering if Julia could be used to create some large ...
31 views

### Well posedness dirichlet BC in elasticity

I always thought that a Dirichlet BC need to be prescribed on at least one part of the domain in order for linear elasticity to be well-posed. Is this correct? But I was recently told by a colleague ...
42 views

94 views

### Partial differential equation FEM application

I have a PDE which looks like Helmholtz wave equation on one dimensional domain. $$\dfrac{d^2u(x)}{dx^2}+\pi^2u(x)=f(x)$$ where $-\infty <x<\infty$ Also, $f(x)= 1$ for $-0.25<x<0.25$, I ...
130 views

### How to define a dimensionless Objective function for determining how peaked a curve is?

I have attached 2 plots for FFT spectra. One is considered good and one is bad. The good one is classified on the basis of how closely spaced the frequencies and the bad is based on how multiple ...
30 views

### How to fill matrix entries for two-dimensional implicit finite-difference for the general case

If I have derived a finite-difference formula for a 2D problem, for example something like: $af_{i,j}+bf_{i-1,j}+cf_{i,j-1}+df_{i-1,j-1}=g_{i,j}$ where f is the unknown function on a grid and ...
20 views

### COMSOL Circularl polarization

I'm having some problems trying to implement circularly polarized light in COMSOL Muliphysics. For a isotropic homogenous media, I've obtained without problems the TE and TM reflectance curves. ...
17 views

### Volumetric Mesh Cutting Algorithms For Simulating Sculpture

I am interested in whether there an available algorithms to give me insights on how to cut a volumetric mesh?
29 views

### Determining the voxels between two boundary surfaces

I am working on human brain tACS simulations where I have the models of the skin, skull, csf, brain and ventricles in STL format. The shape does not matter and there are no intersections. I want to ...
22 views

### Getting a list of coordinate points of a Cartesian grid in Python

I have a regular three dimensional Cartesian Grid with numpy.linspace(a1,an,na), numpy.linspace(b1,bn,nb), numpy.linspace(c1,cn,nc) along their respective ...
10 views

### How to optimize linear programming subproblems with respect to global constraints?

I have an optimization problem where I have several categories and for each category $j$ I have entries $i = 1....m$, I wish to assign some value $x_{ij}$ for each entry of each category but: I need ...
95 views

Abstract I have the next equation to find a force, for my problem: $$U=-\int \vec{m}\small{(x)}\times \vec{B}(x)dV$$ $$\vec{F}=-\nabla U$$ Considering 3-dimensional space with x,y,z coordinates, ...
73 views

35 views

### What constraints, if any, are there on constructible patterns in Conway's Game of Life?

Conway's Game of Life is Turing-complete. Interesting demos of this: A clock Tetris I note that Turing-completeness doesn't require that any specifically encoded state be reachable, does it? ...
241 views

### Comparison of integrals with a function:

Consider the following integral: $$S(q)=\int_{x=2}^q\sin^2\left(\frac{π\Gamma(x)}{2x}\right)dx$$ And consider the functions : $$R(q)=\frac{q}{\log(q)}$$ $$T(q)=\int_2^q\frac{1}{\log(x)}dx$$ I ...