Thanks for the tip haruspex but I'm a little confused as to what you mean. Differentiating the first component with respect to x will remove the function g(y,z) but still leave a nasty PDE.
I've found another piece of information which I think allows me to solve the problem and that is that a...
Homework Statement
Working in Cartesian coordinates (x,y,z) and given that the function g is independent of x, find the functions f and g such that: v=coszi+f(x,y,z)j+g(y,z)k is a Beltrami field.
Homework Equations
From wolfram alpha a Beltrami field is defined as v x (curl v)=0
The Attempt...