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: hz283
Forum: OpenFOAM December 26, 2012, 14:17
Replies: 10
Views: 1,552
Posted By hz283
Hi fumiya, If I add the following lines in...

Hi fumiya,

If I add the following lines in createFields.H:
volScalarField vc
(
IOobject
(
"vc",
runTime.timeName(),
mesh,
Forum: OpenFOAM December 24, 2012, 08:36
Replies: 10
Views: 1,552
Posted By hz283
Hi fumiya, In the createFields.H, if I use...

Hi fumiya,

In the createFields.H, if I use the following instead of IOobject, the code can run successfully:

volScalarFields("vc", 0.1*mag(fvc::grad(c))*mag(fvc::grad(c))).

This...
Forum: OpenFOAM December 23, 2012, 19:00
Replies: 10
Views: 1,552
Posted By hz283
Hi fumiya, I tried the method mentioned...

Hi fumiya,

I tried the method mentioned post #6, but the error info is totally the same as those in post #5. I do know why these errors appear. Do you have further suggestions?

best
h
Forum: OpenFOAM December 23, 2012, 18:42
Replies: 10
Views: 1,552
Posted By hz283
Hi, Thank you very much for your...

Hi,

Thank you very much for your suggestion. If I adopt your method, but if I still want to output this quantity, maybe I need to add the following lines in createFields.H:

volScalarField...
Forum: OpenFOAM December 23, 2012, 18:18
Replies: 10
Views: 1,552
Posted By hz283
Hi, that quantity should be calculated...

Hi,

that quantity should be calculated each time step, but I found that its value always failed to be updated suing the expression. I did not figure it out about this. Thank you very much.
...
Forum: OpenFOAM December 23, 2012, 13:26
Replies: 10
Views: 1,552
Posted By hz283
Question Calculate a quantity based on another quantity solved by Openfoam.

Dear All,

I would like to calculate and output a quantity based on a scalar and added the following lines in createFields.H:

volScalarField vc
(
IOobject
(
...
Showing results 1 to 6 of 6

 
Forum Jump

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