No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hi. I'm not sure if this is a right forum to ask this question! There is a dillema about a certain video.flv uploaded on internet, that's whether the video was taken by a camera or made by some software. I would like to know how can I extract metadata from … |
|
Dear Folks, When I iterate within the very bottom function under the comment "#Update conserved quantities" in this module using for loop (see below), I have noticed that the block of statements below it is not iterated, [CODE] """ """ from numpy import * from math import * from scitools.std … |
|
Dear All, When I call the function "G()" which returns two values: p_T and q_T twice but using the same style, that's, P_T, neg = G(); U, Ign = G() and print sums of P_T and U, I get two different answers! Another thing is that both answers are incorrect! … |
|
Hi All, I want to make the output "u = u + alpha*d_k" at the very end of this code an input, i.e., as an argument of the function "f(u)" at the beginning of the code, in every iteration. Note that I have posted only part of the code which … |
|
Hi all, This code solves the Euler Equation of Gas Dynamics which is a system of partial differential equations. The problem is that it takes very long to run than it would normally required. Things become worse after including the functions "S_p(a_p,a,b)" and "S_m(a_p,a,b)" which are called within other functions … |
|
Re:
for the past ten years i have tried without much success to program in c, c++, java and c# .net. my major problem has been inconsistency and lack of focus and direction. now, i want to start all over again with Python as my language of choice. what must i … |
|
Hi all, I'm running a python program that takes to long to run - several days on a normal machine. To make things faster, I have decided to use a cluster of giant computers to run this code. Does anyone know how to use Message Passing Interface (MPI) in python … |
|
I've tried to make the code below to solve one of the Euler equation for the Gas Dynamics. I understand my code is not perfect, that is why I'm getting an error which I don't understand. The error message is: " File "eulersys.py", line 50, in <module> u_data = Evolve_in_One_Timestep(u_data) … |
|
Hi all, I have developed the code below to solve a non-linear scalar hyperbolic conservation law (Burgers' equation). I want to advance to solving a one dimensional system of Euler equations for Gas Dynamics (which is also a hyperbolic partial differential equation) in the similar manner. Can anyone advise on … |
|
My code tries to solve an optimization problem constrained to hyperbolic PDE by matching a numerical solution to a desired one. The basic idea is that: I've initial condition "U" as input which is being updated by this line: U = Initialize(Update_Design_Parameter(U)). I expect that updated U will affect all … |
|
I'm working on a python code to solve a PDE (Partial Differential Equation) backward in time (i.e. from t = T to t = 0.0). The code is made up of two functions: the first function ([COLOR="Red"]def Solve_for_U_values_at_Time_T()[/COLOR]) solves a PDE (PDE1) forward in time, and returns an array of … |
|
I'm a junior mathematician currently based in South Africa - Johannesburg, who is looking a way to make things more practical and sensible, researching in the area of CFD, with a great passion towards maths in general, programming and computing. I've some programming basics in C++, Sage, Maple and Matlab, … |
|
I have developed a python code that is comprised of several functions, I want the output from the last function to be an input in the first function and the program should stop when a certain criterion is met! for example: [CODE] [[COLOR="Red"]def[/COLOR] f1(something1): Block of statements [COLOR="Red"] return[/COLOR] something … |