Message Boards Message Boards

Solving system of equations: long evaluation time with no results

Posted 8 months ago

Please help in solving the following system of equations. Working on non-Newtonian and Newtonian immiscible fluids (fluid mechanics)

Attachments:
POSTED BY: Saroj Dattatreya
5 Replies

Thank you for your response. Ys I tried this but it did not work.

POSTED BY: Saroj Dattatreya

Thank you for your efforts, but I couldn't solve my set of equations using the set of commands that you sent. I have attached a set of differential equations with boundary conditions. Is it possible to solve analytically? using Mathematica. Please suggest me the method.

Attachments:
POSTED BY: Saroj Dattatreya

It is very difficult to interpret the solution formula, because there are so many ambiguities: inverse functions and noninteger powers, which have more branches in the complex plane.

POSTED BY: Gianluca Gorni

Ok. Thank you

POSTED BY: Saroj Dattatreya

It is a tough system. I would do away with InverseFunction this way, but it is stille hard:

oldSystem = eq1 && eq2 && eq3 && eq4;
invFuncInstances = Union[Cases[oldSystem,
     InverseFunction[_][_], All, Heads -> True]] /.
   InverseFunction[f_][x_] :> {InverseFunction[f][x] ->
      If[x === B1, g1, g2],
     f[If[x === B1, g1, g2]] == x};
{substs, newEqs} = Transpose[invFuncInstances];
newSystem = (oldSystem /. substs) && And @@ newEqs // FullSimplify
sol0 = Solve[newSystem[[{2, 4}]], {A, B}][[1]]
newSystem0 = FullSimplify[Rest@newSystem /. sol0]
FindRoot[newSystem0, {{g1, -3}, {A1, -1}, {B1, I}},
 WorkingPrecision -> 50]
POSTED BY: Gianluca Gorni
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract