Question

how to import matrix using load

hi i want to write in "vtu file" i have some data point and pressure first of all i write point in matrix (30603x6)in vtu us...

2 days ago | 1 answer | 1

Question

how to make loop in

i want to extract matrix total data 25 array %km = 72x1 (matrix) for x=1:25 cx = Km(x,1)+Km(x+1,1)+Km(x+6,1)+Km(x+7,1)+Km(x+...

3 months ago | 1 answer | 0

Question

how to write 12 digit after comma

i read in vtk file as input file D= [ ' 0.99999884292 0.99999951733 1 0.99999737897 0.99998922997 0.99998569147 0.9999903...

3 months ago | 1 answer | 0

Question

write node to cell center

i have 72 node ( 1, ...,72 ) each node have a value between 0-1 i want calculate average each node become 1 cell i know the c...

3 months ago | 1 answer | 0

Answered

running MATLAB on a Linux machine, can use the function like " WScript.Shell" COM interface to send keystrokes to your application

i tried running using java.awt.robot.event.keyevent.VK_enter but in another simulation did not happen anything. i am too strug...

running MATLAB on a Linux machine, can use the function like " WScript.Shell" COM interface to send keystrokes to your application

i tried running using java.awt.robot.event.keyevent.VK_enter but in another simulation did not happen anything. i am too strug...

3 months ago | 0

| accepted

Question

running MATLAB on a Linux machine, can use the function like " WScript.Shell" COM interface to send keystrokes to your application

i would like do many things to coupling between Matlab and antoher simulation i am facing that i need to save as data first thr...

3 months ago | 2 answers | 0

Answered

How do I send keystrokes from MATLAB to another application that was invoked using the bang(!) operator?

hi how about running in linux is there any script like Wscript.shell?

How do I send keystrokes from MATLAB to another application that was invoked using the bang(!) operator?

hi how about running in linux is there any script like Wscript.shell?

3 months ago | 1

Answered

How to run a .exe file with push button (GUI)?

i want to execute file but in difference directory i am trying to change path using myPath ='/home/vaya/field_run/' command =...

How to run a .exe file with push button (GUI)?

i want to execute file but in difference directory i am trying to change path using myPath ='/home/vaya/field_run/' command =...

3 months ago | 0

Question

read input file different type

i have input file as vtu i am very struggling how to read the pressure value. <DataArray type="Float64" Name="pressure" form...

4 months ago | 0 answers | 0

Question

read and write same file VTU

hi i want to read and write VTU file and then visualize using Paraview. from original VTU file i already done open and visuali...

4 months ago | 0 answers | 0

Question

read vtu as input file

first of all, i using VTU file as input file in MATLAB. some input file succeeded to read. but i am wondering that i did not ge...

4 months ago | 0 answers | 0

Question

does not support cell arrays containing cell arrays or objects.

hi all i got function from share code but the problem when i fill the input as array i got that error my input file p = [100...

5 months ago | 0 answers | 0

Answered

can not update value

by modify this script and its work [nwc,hWW] =deal(nan(nw,1)); for i = 1:nw wm = fm.WellModels{...

can not update value

by modify this script and its work [nwc,hWW] =deal(nan(nw,1)); for i = 1:nw wm = fm.WellModels{...

5 months ago | 1

Question

can not update value

hi Matlab i have done many time to used iteration for i want to update value in nwc and hWW put it value from fm.WellModel bu...

5 months ago | 1 answer | 0

Question

readable Grid Matlab in Paraview

Hi there're anyone can help me to open my GRID MATLAB in PARAVIEW i want to combine using MATLAB and C++ result.

9 months ago | 0 answers | 0

Question

how to write in Matrix

dear all how to write in matrix this equation v = -(k./mu).*(grad(p) - (rho*g*dz); P = (1/dt)*(pv*rho) + div(rho*v) thank ...

10 months ago | 0 answers | 0

Question

how to add 2( two) function

dear Matlab I have 2 functions q1 = @(p,T, bhp) WI .* (rho(p(w1),T(w1))./mu(p(w1),T(w1))) .* (p_conn(bhp,bh...

1 year ago | 1 answer | 0

Question

how to write this equation ?

what's the mistake with my code T=linspace(100,1,10) mu = @(T) 0.001.*(0.2414.*10.^(247.8./((T-273)+68.12963))); ...

1 year ago | 3 answers | 0

Answered

how to write this equation ?

i want to calculate T inside of mu mu(T) 0.001.*(0.2414.*10.^(247.8./((T-273)+68.12963))); ↑ Error: Unexpected MA...

how to write this equation ?

i want to calculate T inside of mu mu(T) 0.001.*(0.2414.*10.^(247.8./((T-273)+68.12963))); ↑ Error: Unexpected MA...

1 year ago | 0

Question

how to add matrix and scalar

Hi Matlab User i want to used how to write pv = @(p) pv_r.+ (cr * (p - p_r) ) Unexpected MATLAB operator. note; ...

1 year ago | 2 answers | 0

Answered

difference result with same equation

actually i want calculate this equation, that why i define by my self bhp and bhT, ho to prove aot calculate bhp,bhT if i ge...

difference result with same equation

actually i want calculate this equation, that why i define by my self bhp and bhT, ho to prove aot calculate bhp,bhT if i ge...

1 year ago | 0

Question

difference result with same equation

my commands bhp=100*ones(10,1); bht=[500;500;500;500;500;300;300;300;300;300]; p= @(bhp,bhT) bhp + g*dz.*rho(bhp,bhT); ...

1 year ago | 2 answers | 0

Question

how to solve Error: Unexpected MATLAB expression

i write command for initial pressure in grid cell (FVM = finite volume methods) i have done define p_init(below) p_init =...

1 year ago | 1 answer | 0

Answered

how to connection 2 grid

W is struct 2x1 consist of : w(1) = number of cell [412;422;432;442] w(2) = number of cell [512;522;532;542] temp is temper...

how to connection 2 grid

W is struct 2x1 consist of : w(1) = number of cell [412;422;432;442] w(2) = number of cell [512;522;532;542] temp is temper...

1 year ago | 0

Question

how to connection 2 grid

hi i have 2 grid wc1 = W(1).cells; wc2 = W(2).cells; i want to write wc consift of w(1) and w(2) Temp = ones(size(wc))*20...

1 year ago | 3 answers | 0

Question

Unexpected MATLAB expression.

i try to make equation but when i run have problem Unexpected MATLAB expression. a=(T) 247.8./((T-273)+68.12963)) anyone ...

1 year ago | 1 answer | 0

Answered

How do I solve "too many input arguments" error ?

(T)rho_r.*(1-(((T-273)-3.9863).^2/508929.2).*((((T-273)+288.9414)./((T-273)+68.12963)))) Too many input arguments. a...

How do I solve "too many input arguments" error ?

(T)rho_r.*(1-(((T-273)-3.9863).^2/508929.2).*((((T-273)+288.9414)./((T-273)+68.12963)))) Too many input arguments. a...

1 year ago | 0