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

Search Results

Register Blogs Community New Posts Updated Threads Search

Showing results 1 to 6 of 6
Search took 0.00 seconds.
Search: Posts Made By: smehdi609
Forum: OpenFOAM Running, Solving & CFD November 11, 2008, 18:04
Replies: 18
Views: 7,265
Posted By smehdi609
I cannot find the error

I cannot find the error
Forum: OpenFOAM Running, Solving & CFD November 11, 2008, 17:06
Replies: 18
Views: 7,265
Posted By smehdi609
Hi, You should add them to y

Hi,
You should add them to your creatField.H file. It does not matter what you set in 0 directory, just set a fixed value of zero for example. Because, then you will modify it by those lines in...
Forum: OpenFOAM Running, Solving & CFD November 10, 2008, 20:56
Replies: 18
Views: 7,265
Posted By smehdi609
Hi, For example you can do t

Hi,
For example you can do this:

label inletPatchID = mesh.boundaryMesh().findPatchID("inlet");
fvPatchScalarField& inletT = T.boundaryField()[inletPatchID];
const vectorField&...
Forum: OpenFOAM Running, Solving & CFD November 10, 2008, 19:47
Replies: 18
Views: 7,265
Posted By smehdi609
Hi, 2. Yeah you are right it

Hi,
2. Yeah you are right it should be S, but it does not make any difference.
3. You can do it here or in the creatFile.H
Enjoy
Mahdi
Forum: OpenFOAM Running, Solving & CFD November 7, 2008, 16:57
Replies: 18
Views: 7,265
Posted By smehdi609
Hi, do the following changes

Hi,
do the following changes:

volScalarField S
(
IOobject
(
"S",
runTime.timeName(),
mesh,
Forum: OpenFOAM Running, Solving & CFD November 6, 2008, 14:19
Replies: 18
Views: 7,265
Posted By smehdi609
Hi, I do these stuff in this

Hi,
I do these stuff in this way; first get reference to your x and y position and define S as the source term:
volScalarField yPos = mesh.C().component(vector::Y);
volScalarField xPos =...
Showing results 1 to 6 of 6

 
Forum Jump

All times are GMT -4. The time now is 10:25.