<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[拉格朗日injection model的自编译]]></title><description><![CDATA[<p dir="auto">大家好，我的injection model已经显示编译好了，但是在injection model type的种类里面没有我自编译的选项，这是为啥啊</p>
<p dir="auto">[dcy@node1 SinglePatchInjection]$ wmake libso<br />
wmake libso .<br />
wmakeLnInclude: linking include files to ./lnInclude<br />
Making dependency list for source file SinglePatchInjectionRegister.C<br />
Making dependency list for source file SinglePatchInjection.C<br />
g++ -std=c++11 -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=64 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -Wno-attributes -O3  -DNoRepository -ftemplate-depth-100 -I/home/dcy/OpenFOAM/OpenFOAM-6/src/OpenFOAM/lnInclude -I/home/dcy/OpenFOAM/OpenFOAM-6/src/OSspecific/POSIX/lnInclude -I/home/dcy/OpenFOAM/OpenFOAM-6/src/finiteVolume/lnInclude -I/home/dcy/OpenFOAM/OpenFOAM-6/src/meshTools/lnInclude -I/home/dcy/OpenFOAM/OpenFOAM-6/src/lagrangian/basic/lnInclude -I/home/dcy/OpenFOAM/OpenFOAM-6/src/lagrangian/intermediate/lnInclude -I/home/dcy/OpenFOAM/OpenFOAM-6/src/lagrangian/distributionModels/lnInclude -I/home/dcy/OpenFOAM/OpenFOAM-6/src/regionModels/surfaceFilmModels/lnInclude -I/home/dcy/OpenFOAM/OpenFOAM-6/src/regionModels/regionModel/lnInclude -IlnInclude -I. -I/home/dcy/OpenFOAM/OpenFOAM-6/src/OpenFOAM/lnInclude -I/home/dcy/OpenFOAM/OpenFOAM-6/src/OSspecific/POSIX/lnInclude   -fPIC -c SinglePatchInjection.C -o Make/linux64GccDPInt64Opt/SinglePatchInjection.o<br />
g++ -std=c++11 -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=64 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -Wno-attributes -O3  -DNoRepository -ftemplate-depth-100 -I/home/dcy/OpenFOAM/OpenFOAM-6/src/OpenFOAM/lnInclude -I/home/dcy/OpenFOAM/OpenFOAM-6/src/OSspecific/POSIX/lnInclude -I/home/dcy/OpenFOAM/OpenFOAM-6/src/finiteVolume/lnInclude -I/home/dcy/OpenFOAM/OpenFOAM-6/src/meshTools/lnInclude -I/home/dcy/OpenFOAM/OpenFOAM-6/src/lagrangian/basic/lnInclude -I/home/dcy/OpenFOAM/OpenFOAM-6/src/lagrangian/intermediate/lnInclude -I/home/dcy/OpenFOAM/OpenFOAM-6/src/lagrangian/distributionModels/lnInclude -I/home/dcy/OpenFOAM/OpenFOAM-6/src/regionModels/surfaceFilmModels/lnInclude -I/home/dcy/OpenFOAM/OpenFOAM-6/src/regionModels/regionModel/lnInclude -IlnInclude -I. -I/home/dcy/OpenFOAM/OpenFOAM-6/src/OpenFOAM/lnInclude -I/home/dcy/OpenFOAM/OpenFOAM-6/src/OSspecific/POSIX/lnInclude   -fPIC -c SinglePatchInjectionRegister.C -o Make/linux64GccDPInt64Opt/SinglePatchInjectionRegister.o<br />
g++ -std=c++11 -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=64 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -Wno-attributes -O3  -DNoRepository -ftemplate-depth-100 -I/home/dcy/OpenFOAM/OpenFOAM-6/src/OpenFOAM/lnInclude -I/home/dcy/OpenFOAM/OpenFOAM-6/src/OSspecific/POSIX/lnInclude -I/home/dcy/OpenFOAM/OpenFOAM-6/src/finiteVolume/lnInclude -I/home/dcy/OpenFOAM/OpenFOAM-6/src/meshTools/lnInclude -I/home/dcy/OpenFOAM/OpenFOAM-6/src/lagrangian/basic/lnInclude -I/home/dcy/OpenFOAM/OpenFOAM-6/src/lagrangian/intermediate/lnInclude -I/home/dcy/OpenFOAM/OpenFOAM-6/src/lagrangian/distributionModels/lnInclude -I/home/dcy/OpenFOAM/OpenFOAM-6/src/regionModels/surfaceFilmModels/lnInclude -I/home/dcy/OpenFOAM/OpenFOAM-6/src/regionModels/regionModel/lnInclude -IlnInclude -I. -I/home/dcy/OpenFOAM/OpenFOAM-6/src/OpenFOAM/lnInclude -I/home/dcy/OpenFOAM/OpenFOAM-6/src/OSspecific/POSIX/lnInclude   -fPIC -shared -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPInt64Opt/SinglePatchInjection.o Make/linux64GccDPInt64Opt/SinglePatchInjectionRegister.o -L/home/dcy/OpenFOAM/OpenFOAM-6/platforms/linux64GccDPInt64Opt/lib <br />
-o /home/dcy/OpenFOAM/dcy-6/platforms/linux64GccDPInt64Opt/lib/libSinglePatchInjection.so</p>
<p dir="auto">--&gt; FOAM FATAL ERROR:<br />
Unknown injection model type singlePatchInjection<br />
Valid injection model types are:</p>
<p dir="auto">10<br />
(<br />
cellZoneInjection<br />
coneInjection<br />
coneNozzleInjection<br />
fieldActivatedInjection<br />
inflationInjection<br />
kinematicLookupTableInjection<br />
manualInjection<br />
none<br />
patchFlowRateInjection<br />
patchInjection<br />
)</p>
]]></description><link>https://cfd-china.com/topic/8196/拉格朗日injection-model的自编译</link><generator>RSS for Node</generator><lastBuildDate>Tue, 19 May 2026 21:55:12 GMT</lastBuildDate><atom:link href="https://cfd-china.com/topic/8196.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 23 Sep 2025 02:52:05 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to 拉格朗日injection model的自编译 on Thu, 25 Sep 2025 00:58:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://cfd-china.com/uid/2691">@星星星星晴</a> 谢谢大佬回复，我后面也看看这个头文件如何使用</p>
]]></description><link>https://cfd-china.com/post/44793</link><guid isPermaLink="true">https://cfd-china.com/post/44793</guid><dc:creator><![CDATA[youhaoyu]]></dc:creator><pubDate>Thu, 25 Sep 2025 00:58:41 GMT</pubDate></item><item><title><![CDATA[Reply to 拉格朗日injection model的自编译 on Wed, 24 Sep 2025 08:37:11 GMT]]></title><description><![CDATA[<p dir="auto">你这个方法我不太了解。我在添加injection model的时候就是修改好程序以后在makeParcelInjectionModels.H添加模型。没用过你这个方法</p>
]]></description><link>https://cfd-china.com/post/44790</link><guid isPermaLink="true">https://cfd-china.com/post/44790</guid><dc:creator><![CDATA[星星星星晴]]></dc:creator><pubDate>Wed, 24 Sep 2025 08:37:11 GMT</pubDate></item><item><title><![CDATA[Reply to 拉格朗日injection model的自编译 on Wed, 24 Sep 2025 02:03:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://cfd-china.com/uid/2691">@星星星星晴</a> 大佬，我用的是openFoam v6版本。我没有用官方的makeParcelInjectionModels.H这个头文件做注册宏。我用的是"addToRunTimeSelectionTable.H"这个头文件做注册</p>
]]></description><link>https://cfd-china.com/post/44788</link><guid isPermaLink="true">https://cfd-china.com/post/44788</guid><dc:creator><![CDATA[youhaoyu]]></dc:creator><pubDate>Wed, 24 Sep 2025 02:03:18 GMT</pubDate></item><item><title><![CDATA[Reply to 拉格朗日injection model的自编译 on Tue, 23 Sep 2025 11:49:55 GMT]]></title><description><![CDATA[<p dir="auto">因为你没有在makeParcelInjectionModels.H 添加你的模型</p>
]]></description><link>https://cfd-china.com/post/44785</link><guid isPermaLink="true">https://cfd-china.com/post/44785</guid><dc:creator><![CDATA[星星星星晴]]></dc:creator><pubDate>Tue, 23 Sep 2025 11:49:55 GMT</pubDate></item></channel></rss>