CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums

Search Results

Register Blogs Members List Search Today's Posts Mark Forums Read

Showing results 1 to 3 of 3
Search took 0.00 seconds.
Search: Posts Made By: cheng1988sjtu
Forum: OpenFOAM Programming & Development June 13, 2013, 13:36
Replies: 3
Views: 1,126
Posted By cheng1988sjtu
Thanks!

Thanks, Marco,

Thank you for you suggestions, the problem is now solved, I need to include "symmetryFvPatchFields.H" in my main files, that's why the error message said,

error:...
Forum: OpenFOAM Programming & Development June 13, 2013, 00:39
Replies: 3
Views: 1,126
Posted By cheng1988sjtu
Further Info

forAll(p.boundaryField(),patchi)
{
if (isA<symmetryFvPatchScalarField>(p.boundaryField()[patchi]))
{
phiDraga.boundaryField()[patchi] = 0.0;
phiDragb.boundaryField()[patchi] = 0.0;
...
Forum: OpenFOAM Programming & Development June 13, 2013, 00:27
Replies: 3
Views: 1,126
Posted By cheng1988sjtu
How to determine a boundary type in the code?

Hi Foamers,

I have a general question about how to determine a boundary type in the code, for example, in twoPhseEulerFoam (OF2.1.0), the pEqn.H has the following code to determine whether the...
Showing results 1 to 3 of 3

 
Forum Jump

All times are GMT -4. The time now is 04:22.