pde

How to use a variable coefficient in PDE Toolbox to solve a parabolic equation (Matlab)

最后都变了- 提交于 2019-12-12 18:13:08
问题 I will try to explain my doubt in the better way possible: I'm trying to solve the reaction-diffusion equation with PDE Toolbox (Matlab), the syntax to get the solution (u) is: parabolic - Solve parabolic PDE problem This MATLAB function produces the solution to the FEM formulation of the scalar PDE problem: u1 = parabolic(u0,tlist,b,p,e,t,c,a,f,d) c,a,f,d are the coefficients of the parabolic equation: d(∂u/∂t)−∇⋅(c∇u)+au=f, But I want this: u=parabolic(u0,tlist,b,p,e,t,c,@coeffunction,f,d);

What do the PDE icons in Eclipse mean?

被刻印的时光 ゝ 提交于 2019-12-12 06:25:26
问题 Following the question "What do the icons in Eclipse mean?" that has an excellent answer I hope to find what all the icons and icon decorations of the "Plug-ins" and "Plug-ins Dependencies" views of the PDE 回答1: I can fill in most of those: Main Icons : Plugin : Fragment Overlays : Re-exported by parent plugin : Optional import : Exists in the target platform (not the workspace) 来源: https://stackoverflow.com/questions/17277288/what-do-the-pde-icons-in-eclipse-mean

UI not listing contents of Eclipse software site

落花浮王杯 提交于 2019-12-11 14:59:03
问题 When trying to add a Software Site (p2 plugin repository - either one generated by p2 Publisher or Nexus with p2 support) to a target definition via the "Target Definition Wizard" there seem to be "no items available" preventing the site to be added. The same problem has been reported e.g. here: https://docs.sonatype.org/display/Nexus/Nexus+OSGi+Experimental+Features+-+P2+Repository+Plugin?focusedCommentId=12943363#comment-12943363 Tycho and the https://github.com/ifedorenko/p2-browser are

How to Couple Advection Diffusion Reaction PDEs with FiPy

孤者浪人 提交于 2019-12-11 10:04:09
问题 I tried to solve 1D coupled PDEs for an advection-diffusion-reaction problem with the Matlab function Pdepe (https://www.mathworks.com/help/matlab/ref/pdepe.html). This function is not working properly in my case of a high advection term as compared to the diffusion term. Therefore, I searched and found this option of using the Python library FiPy to solve my PDEs system. My initial conditions are u1=1 for 4*L/10 My coupled equations are of the following form: du1/dt = d/dx(D1 * du1/dx) + g *

Numerical instability FFTW <> Matlab

早过忘川 提交于 2019-12-10 02:46:54
问题 I am trying to numerically solve the Swift-Hohenberg equation http://en.wikipedia.org/wiki/Swift%E2%80%93Hohenberg_equation using a pseudo-spectral scheme, where the linear terms are treated implicitly in Fourier space, while the nonlinearity is evaluated in real space. A simple Euler scheme is used for the time integration. My problem is that the Matlab code I have come up with works perfectly, while the C++ code, which relies on FFTW for the Fourier transforms, becomes unstable and diverges

how to get workspace path in eclipse? [closed]

大兔子大兔子 提交于 2019-12-08 17:18:40
问题 Closed . This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 5 years ago . I am doing to study about PDE(Eclipse Plugin Project). I need to get workspace path. My text widget(swt) should to be set current workspace path. How to get workspace path in eclipse? 回答1: You want: ResourcesPlugin.getWorkspace().getRoot().getLocation().toString(); 回答2: File -> Switch Workspace ->

Using time dependent (heat) source in PDE Toolbox

♀尐吖头ヾ 提交于 2019-12-08 09:30:58
问题 My goal is to apply a time-dependent heat source when solving the heat transfer problem. The partial differential equation for transient conduction heat transfer is: and more information can be found here: Solving a Heat Transfer Problem With Temperature-Dependent Properties All parameters are constants in my case, except the source term, f, needs to be changed along with time. I'm following the example code here: Nonlinear Heat Transfer In a Thin Plate which gives a way to solve the

Eclipse p2 alternative for custom install handlers

女生的网名这么多〃 提交于 2019-12-06 11:31:27
问题 Before p2, one could write a custom install handler with a feature that was executed to do any 'custom' task during installation. I see that with p2 the custom install handler is no longer supported. I keep hearing about 'custom touchpoints' being the replacement for that. However I cant find any concrete example/documentation for it. Can anyone tell me how to get the functionality of custom install handlers with the p2 update manager. Edit: A description of what I want to do - I need to edit

Numerical instability FFTW <> Matlab

独自空忆成欢 提交于 2019-12-05 03:31:02
I am trying to numerically solve the Swift-Hohenberg equation http://en.wikipedia.org/wiki/Swift%E2%80%93Hohenberg_equation using a pseudo-spectral scheme, where the linear terms are treated implicitly in Fourier space, while the nonlinearity is evaluated in real space. A simple Euler scheme is used for the time integration. My problem is that the Matlab code I have come up with works perfectly, while the C++ code, which relies on FFTW for the Fourier transforms, becomes unstable and diverges after a couple thousand time steps. I have tracked it down to the way the nonlinear term is treated

Eclipse p2 alternative for custom install handlers

强颜欢笑 提交于 2019-12-04 16:45:35
Before p2, one could write a custom install handler with a feature that was executed to do any 'custom' task during installation. I see that with p2 the custom install handler is no longer supported. I keep hearing about 'custom touchpoints' being the replacement for that. However I cant find any concrete example/documentation for it. Can anyone tell me how to get the functionality of custom install handlers with the p2 update manager. Edit: A description of what I want to do - I need to edit the eclipse.ini file and set the -Xmx property to a value based on whether we are running inside a 64