|
[Sponsors] |
June 21, 2019, 16:27 |
UDF and /bigobj error
|
#1 |
Member
Join Date: Feb 2013
Posts: 60
Rep Power: 13 |
Hello,
I have run into an error when compiling a very large UDF. The error looks like this: fatal error C1128: number of sections exceeded object file format limit: compile with /bigobj If you do some searching you will see that the /bigobj compiler flag can be used to overcome this error, but I am not sure how to get ANSYS to recognize it. One approach I thought of was to compile the udf directly in Visual Studio instead of having ANSYS compile it by calling Visual Studio under the sheets. But I am not sure what I need to do to compile directly in VS and then use the object file in ANSYS. Does anyone know how to do this? |
|
June 23, 2019, 22:42 |
|
#2 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
split your UDF into several files
best regards |
|
Tags |
bigobj, error, fluent, udf |
|
|