my equations are:
F" = F^2 + HF' - G^2
G" = 2FG - HG'
H' = -2F
BC: F(0)=0 F(inf)=0 G(0)=1 G(inf)=0 H(0)=0
Thanks
thanks
it solved with following code :
dydx=@(x,y)[y(2) ; y(1)^2+y(5)*y(2)-y(3)^2 ; y(4) ; 2*y(1)*y(3)+y(5)*y(4) ; -2*y(1) ];
BC=@(ya,yb)[ya(1) ; yb(1) ; ya(3)-1 ; yb(3) ; ya(5)];
yint=@(x)[0.4 ; 0 ; 0.2 ; 0 ; .6 ];
solint=bvpinit(linspace(0,20,2000),yint);
S=bvp4c(dydx,BC,solint);
for i=1:4
S=bvp4c(dydx,BC,S);
end
In cases where an analytical solution is not obtainable, a very simple technique is the finite-difference method. See Lecture 9 here:
http://emlab.utep.edu/ee5390cem.htm.
You missed a negative sign defining y(4). It should be 2*y(1)*y(3)-y(5)*y(4).
When I tried to energy minimization my system, I got fatal error as below. Fatal error: Atomtype opls_116 not found Although I've already added this line: ; include water #include "oplsaa.ff/spc.itp" to [molecultype] directive in my topology.
16 June 2021 0 0 View
Hello, I'm fairly new to ARENA and I have the following problem: I have two queues in which, in each queue, a different order type arrives (both having an arrival rate of exponential 10). Order...
02 March 2021 2,431 3 View
Hello, I have a mechanism where air rises due to convective flows. In this simulation, nothing is driving the air except this. I understand that the Boussinesq approximation only works for small...
02 March 2021 4,910 3 View
Actually, I am running cfd simulation for a heat exchanger which has two fluids one hot and other one is cold fluid. there is a solid domain between them, which I removed and instead I have used...
01 March 2021 9,537 2 View
I am working on roof joint and trying to simulate the behaviour in Abaqus. I am successful in running the model but the final graph does not follow the experimental curve in the negative direction...
01 March 2021 6,661 3 View
Hi In Molecular Dynamics Simulation, how do I make changes to the force field according to my protein? I got this error in the add-ion stage: Fatal error "./ amber99sb-ildn-HHH.ff / force...
01 March 2021 8,747 4 View
I have created an Ice 1h crystalline structure and an Aluminium substrate structure and equilibrated both at 250K. Now I need to bring them together in a way that an adhesive bond is created....
01 March 2021 3,325 2 View