A study of nonlinear systems arising in the physics of liquid crystals, using MLPG and DMLPG methods