Howto adding a new solver to foamX
From OpenFOAMWiki
To add a new solver to FoamX you have to write the corresponding configuration file.
The easiest way is to take the configuration (.cfg) file of a standard application which behaves similarly to the one you want to add from $FOAMX_SYSTEM_CONFIG and to copy it to FOAMX_USER_CONFIG.
For example, if your application is similar to icoFoam, take
$FOAMX_SYSTEM_CONFIG/applications/incompressible/icoFoam
and copy it to
$FOAMX_USER_CONFIG/applications/incompressible/myFoam
where myFoam is the name of your new solver.
Adapt the configuration file and the dictionaries to your needs and change /Make/files to match your application name.
Create a case (right click on the root directory in the case browser) and you will have myFoam to choose from.