I have a differential system like this, where $\Phi$ is a scalar valued unknown function: $$\nabla\Phi = \left(f_1(x, y), f_2(x,y)\right)^T$$ I'm trying to solve it in a FEM solver (COMSOL Multiphysics), where $\Phi$ would be my dependent variable and $f_1, f_2$ are known functions.
Normally, the DE describing a dependent variable $u$ would have the form: $$f_1\frac{\partial u}{\partial x}+f_2\frac{\partial u}{\partial y} = f_3$$ where $f_1, f_2, f_3$ are functions of $x, y$ and also possibly $u$. Above, we have a single differential equation, for a single scalar valued unknown $u$.
But in the problem I described (the very first equation), I have a single scalar unknown $\Phi$, but two separate differential equations. How do I cast it into a single differential equation to solve it in COMSOL? Because COMSOL accepts one differential equation per dependent variable.