I'm afraid it is not exactly straightforward, but it can be done! I am assuming you want to do this in ANSYS Mechanical through Workbench. ANSYS Mechanical does not have a GUI tool to create functions that depend on more than one variable. Instead, you need to create the function in ANSYS APDL (a.k.a ANSYS Classic) and then insert APDL commands in ANSYS Mechanical.
STEP 1: Create the equation in ANSYS APDL
Search for "Function Editor" in the "Mechanical APDL" help documentation.
Another good resource is from Sheldon at ANSYS.NET: http://ansys.net/ansys/tips_sheldon/STI09_ANSYS_6.0_Function_Editor.pdf
STEP 2: Insert the APDL code as a "Command Object" in ANSYS Mechanical
Search for "Command Objects" in the "Mechanical User's Guide" help documentation.
Another good resource is "Working with APDL Commands in ANSYS Workbench - CAE Associates" at https://youtu.be/qqB2HjgmDow
I'm also attaching a text file that has the command code you need to create a Gaussian heat flux on a named face selection. (Use at your own risk.)
I'm afraid it is not exactly straightforward, but it can be done! I am assuming you want to do this in ANSYS Mechanical through Workbench. ANSYS Mechanical does not have a GUI tool to create functions that depend on more than one variable. Instead, you need to create the function in ANSYS APDL (a.k.a ANSYS Classic) and then insert APDL commands in ANSYS Mechanical.
STEP 1: Create the equation in ANSYS APDL
Search for "Function Editor" in the "Mechanical APDL" help documentation.
Another good resource is from Sheldon at ANSYS.NET: http://ansys.net/ansys/tips_sheldon/STI09_ANSYS_6.0_Function_Editor.pdf
STEP 2: Insert the APDL code as a "Command Object" in ANSYS Mechanical
Search for "Command Objects" in the "Mechanical User's Guide" help documentation.
Another good resource is "Working with APDL Commands in ANSYS Workbench - CAE Associates" at https://youtu.be/qqB2HjgmDow
I'm also attaching a text file that has the command code you need to create a Gaussian heat flux on a named face selection. (Use at your own risk.)